Make self a trusted user

This commit is contained in:
Nathan McCarty 2022-09-04 04:25:59 -04:00
parent 86a0c62f9f
commit 842f33692e
Signed by: thatonelutenist
GPG Key ID: D70DA3DD4D1E9F96
1 changed files with 5 additions and 0 deletions

View File

@ -36,6 +36,11 @@ with lib; {
};
# If we install the user, enable sudo
security.sudo.enable = mkDefault nc.installUser;
# If we isntall the user, make them trusted
nix.settings.trusted-users =
if nc.installUser then [
"nathan"
] else [ ];
# If we setup the user, install the shell as well
environment.systemPackages =
if nc.installUser then [