diff options
author | Martin Fischer <martin@push-f.com> | 2025-06-11 08:43:42 +0200 |
---|---|---|
committer | Martin Fischer <martin@push-f.com> | 2025-06-11 08:43:51 +0200 |
commit | f1fef7c7a200d8c3e9d8b3b171f4b0429d183433 (patch) | |
tree | 0b350928ca165b78087fa1d8b58e33bc1d56e191 | |
parent | b87fb2aaece93ae9682643ea7e1a845331524598 (diff) |
tweak(server): enable passwordless sudo and remote rebuilds
-rw-r--r-- | nixos/profiles/server/default.nix | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/nixos/profiles/server/default.nix b/nixos/profiles/server/default.nix index ac24e20..07dcd4b 100644 --- a/nixos/profiles/server/default.nix +++ b/nixos/profiles/server/default.nix @@ -13,4 +13,9 @@ }; }; }; + + security.sudo.wheelNeedsPassword = false; + + # For remote rebuilds with --target-host. + nix.settings.trusted-users = ["@wheel"]; } |