make users immutable (pw always from nixos config)
This commit is contained in:
parent
43b67a2911
commit
4a40bc7224
1 changed files with 1 additions and 0 deletions
|
@ -47,6 +47,7 @@
|
||||||
|
|
||||||
nix.trustedUsers = [ "root" "@wheel" ];
|
nix.trustedUsers = [ "root" "@wheel" ];
|
||||||
|
|
||||||
|
users.mutableUsers = false;
|
||||||
users.users = rec {
|
users.users = rec {
|
||||||
root.openssh.authorizedKeys.keys =
|
root.openssh.authorizedKeys.keys =
|
||||||
lib.flatten (map (u: u.openssh.authorizedKeys.keys) [ fhauser das-g ]);
|
lib.flatten (map (u: u.openssh.authorizedKeys.keys) [ fhauser das-g ]);
|
||||||
|
|
Loading…
Add table
Reference in a new issue