diff --git a/modules/linux/user.nix b/modules/linux/user.nix index 1be7971..ee8f39c 100644 --- a/modules/linux/user.nix +++ b/modules/linux/user.nix @@ -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 [