options/machine: allow to define users without wheel

This commit is contained in:
Kevin Baensch 2025-07-04 16:52:46 +02:00
parent 87e83f336f
commit 88a6a90ab2
Signed by: derped
GPG key ID: C0F1D326C7626543
10 changed files with 26 additions and 25 deletions

View file

@ -76,7 +76,7 @@ in
"/etc/ssh/ssh_host_rsa_key"
"/etc/ssh/ssh_host_rsa_key.pub"
];
users = listToAttrs (map persistUser config.machine.administrators);
users = listToAttrs (map persistUser config.machine.users);
};
# link current home manager profile if it exists
@ -91,6 +91,6 @@ in
ln -sfn /home/${name}/.local/state/nix/profiles/profile /home/${name}/.nix-profile
fi
''
) config.machine.administrators
) config.machine.users
);
}