modules/nixos: refactor users

This commit is contained in:
zowoq 2024-09-12 14:20:53 +10:00
parent f73f4f9ac3
commit 4d1c91f39c
3 changed files with 6 additions and 9 deletions
modules/nixos/common

View file

@ -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;
}