forked from DGNum/infrastructure
feat(users): Add root passwords and deactivate mutableUsers
This commit is contained in:
parent
7bdc70632c
commit
1e71ef3636
5 changed files with 50 additions and 8 deletions
|
@ -65,7 +65,6 @@ lib.extra.mkConfig {
|
|||
extraLibraries = [ config.hardware.nvidia.package ];
|
||||
};
|
||||
};
|
||||
users.users.root.hashedPassword = "$y$j9T$eNZQgDN.J5y7KTG2hXgat1$J1i5tjx5dnSZu.C9B7swXi5zMFIkUnmRrnmyLHFAt8/";
|
||||
};
|
||||
|
||||
root = ./.;
|
||||
|
|
|
@ -13,6 +13,10 @@ lib.extra.mkConfig {
|
|||
];
|
||||
|
||||
extraConfig = {
|
||||
users.users.test = {
|
||||
isNormalUser = true;
|
||||
password = "totoro";
|
||||
};
|
||||
# Restrict access to this node
|
||||
dgn-access-control.users.root = [ "thubrecht" ];
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue