From cf0de8a1866712b2fb985d595950f67ed7216154 Mon Sep 17 00:00:00 2001 From: Harivansh Rathi Date: Sun, 29 Mar 2026 15:43:23 -0400 Subject: [PATCH] add wheelNeedsPassword=false and use root for netty deploy --- hosts/netty/configuration.nix | 2 ++ justfile | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/hosts/netty/configuration.nix b/hosts/netty/configuration.nix index e7e3b5d..8a2e48b 100644 --- a/hosts/netty/configuration.nix +++ b/hosts/netty/configuration.nix @@ -50,6 +50,8 @@ in { ]; }; + security.sudo.wheelNeedsPassword = false; + programs.zsh.enable = true; environment.shells = [pkgs.zsh]; diff --git a/justfile b/justfile index e5ab9ca..9d6d283 100644 --- a/justfile +++ b/justfile @@ -30,4 +30,4 @@ secrets-restore-files: ./scripts/restore-bw-files.sh 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"