fix: erreur sur la logique. oubli d'un !

This commit is contained in:
2016-07-22 13:40:13 +02:00
parent 592e5664be
commit 7bd6eb37e3

View File

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