disallow non-root users from using the nix daemon

This commit is contained in:
Kopatz
2025-12-14 22:58:31 +01:00
parent 1034bf8ff2
commit d0a0ac85d1
2 changed files with 3 additions and 0 deletions

View File

@@ -25,6 +25,7 @@ in
nix = {
optimise.automatic = cfg.optimise;
settings.allowed-users = [ "root" "@wheel" ];
settings.experimental-features = [
"nix-command"
"flakes"