From 173678734caa10f4ea6ee90f3a876a723e1bfebf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kha=C3=AFs=20COLIN?= Date: Fri, 30 Aug 2024 14:16:59 +0200 Subject: [PATCH] security: only allow root and @wheel to access nix --- configuration.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/configuration.nix b/configuration.nix index 54a2957..b77def7 100644 --- a/configuration.nix +++ b/configuration.nix @@ -33,5 +33,6 @@ in zramSwap.enable = true; networking.hostName = "quasar"; networking.domain = ""; + nix.allowedUsers = [ "@wheel" "root" ]; system.stateVersion = "23.11"; }