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

@ -14,9 +14,6 @@ with lib; {
"flakes" "flakes"
]; ];
# Add @wheel to trusted-users for remote deployments.
nix.settings.trusted-users = ["root" "@wheel"];
# Enable redistributable firmware. # Enable redistributable firmware.
hardware.enableRedistributableFirmware = true; hardware.enableRedistributableFirmware = true;
@ -253,6 +250,7 @@ with lib; {
fishPlugins.gruvbox fishPlugins.gruvbox
lynx lynx
ncdu ncdu
nh
rsync rsync
tmux tmux
trash-cli trash-cli

View file

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