add wheelNeedsPassword=false and use root for netty deploy

This commit is contained in:
Harivansh Rathi 2026-03-29 15:43:23 -04:00
parent dfc88f3b24
commit cf0de8a186
2 changed files with 3 additions and 1 deletions

View file

@ -50,6 +50,8 @@ in {
]; ];
}; };
security.sudo.wheelNeedsPassword = false;
programs.zsh.enable = true; programs.zsh.enable = true;
environment.shells = [pkgs.zsh]; environment.shells = [pkgs.zsh];

View file

@ -30,4 +30,4 @@ secrets-restore-files:
./scripts/restore-bw-files.sh ./scripts/restore-bw-files.sh
switch-netty: switch-netty:
ssh rathi@152.53.195.59 "sudo nixos-rebuild switch --flake github:harivansh-afk/nix#netty" ssh root@netty "nixos-rebuild switch --flake github:harivansh-afk/nix#netty"