diff --git a/hosts/xlab-gateway/default.nix b/hosts/xlab-gateway/default.nix index 6d4953a..2459ff6 100644 --- a/hosts/xlab-gateway/default.nix +++ b/hosts/xlab-gateway/default.nix @@ -30,6 +30,7 @@ users.users.ldx = { extraGroups = [ "networkmanager" ]; + hashedPassword = "$y$j9T$R0XBoDSGk700h7UdglfaJ1$mjRwpJir/Tno1.fCbjet0cp/JPb1DW.JILvmE5.NJuD"; }; users.users.ylw = { diff --git a/modules/users.nix b/modules/users.nix index 2750399..4656c5b 100644 --- a/modules/users.nix +++ b/modules/users.nix @@ -24,7 +24,7 @@ # switch-to-configuration, and confirmation commands via non-interactive SSH security.sudo.extraRules = [ { - users = [ "ldx" ]; + users = [ "ldx" "ylw" ]; commands = [ { command = "ALL"; options = [ "NOPASSWD" ]; } ];