security: only allow root and @wheel to access nix

This commit is contained in:
Khaïs COLIN 2024-08-30 14:16:59 +02:00
parent 25ec3e22b2
commit 173678734c

View file

@ -33,5 +33,6 @@ in
zramSwap.enable = true; zramSwap.enable = true;
networking.hostName = "quasar"; networking.hostName = "quasar";
networking.domain = ""; networking.domain = "";
nix.allowedUsers = [ "@wheel" "root" ];
system.stateVersion = "23.11"; system.stateVersion = "23.11";
} }