modules/nixos: refactor users
This commit is contained in:
parent
f73f4f9ac3
commit
4d1c91f39c
3 changed files with 6 additions and 9 deletions
modules/nixos/common
|
@ -14,6 +14,11 @@ in
|
|||
{
|
||||
imports = userImports;
|
||||
|
||||
# users in trusted group are trusted by the nix-daemon
|
||||
nix.settings.trusted-users = [ "@trusted" ];
|
||||
|
||||
users.groups.trusted = { };
|
||||
|
||||
# No mutable users
|
||||
users.mutableUsers = false;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue