Move trusted-users option

This commit is contained in:
Fern Garden 2025-07-24 15:12:51 +08:00
parent 5894aefc30
commit 3bdee65620
2 changed files with 4 additions and 3 deletions

View file

@ -1,6 +1,9 @@
{
imports = [../.]; # Common config.
# Add @wheel to trusted-users for remote deployments.
nix.settings.trusted-users = ["root" "@wheel"];
# Passwordless sudo.
security.sudo.wheelNeedsPassword = false;