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

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;