|
|
@ -4,9 +4,9 @@ let
|
|
|
|
profiles = config.r6d.profiles;
|
|
|
|
profiles = config.r6d.profiles;
|
|
|
|
in {
|
|
|
|
in {
|
|
|
|
|
|
|
|
|
|
|
|
security.sudo.wheelNeedsPassword = profiles.isPrunetwork && profiles.isServer;
|
|
|
|
security.sudo.wheelNeedsPassword = !(profiles.isPrunetwork && profiles.isServer);
|
|
|
|
|
|
|
|
|
|
|
|
users.extraUsers.jpierre03 = pkgs.lib.mkIf config.r6d.profiles.isPrunetwork
|
|
|
|
users.extraUsers.jpierre03 = pkgs.lib.mkIf profiles.isPrunetwork
|
|
|
|
{ isNormalUser = true;
|
|
|
|
{ isNormalUser = true;
|
|
|
|
createHome = true;
|
|
|
|
createHome = true;
|
|
|
|
home = "/home/jpierre03";
|
|
|
|
home = "/home/jpierre03";
|
|
|
|