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

extraction-donnees-privees
Jean-Pierre PRUNARET 9 years ago
parent 592e5664be
commit 7bd6eb37e3

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

Loading…
Cancel
Save