diff options
| author | Devin Finlinson <devin.finlinson@pm.me> | 2023-12-04 23:23:10 -0700 |
|---|---|---|
| committer | Devin Finlinson <devin.finlinson@pm.me> | 2023-12-04 23:35:44 -0700 |
| commit | aca8cbd679958afc56c35b939d6f6de528e5d926 (patch) | |
| tree | dfe65a232eac6260cc6d1d8e56376a985be36cf1 /modules/nixos/nix-common.nix | |
| parent | c43fb4686263d5de21cfbb3a9354f62c859762bb (diff) | |
consolidating nix allowed users setting
Diffstat (limited to 'modules/nixos/nix-common.nix')
| -rw-r--r-- | modules/nixos/nix-common.nix | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/modules/nixos/nix-common.nix b/modules/nixos/nix-common.nix index 6e4d373..237f83f 100644 --- a/modules/nixos/nix-common.nix +++ b/modules/nixos/nix-common.nix @@ -2,7 +2,8 @@ nix = { settings = { - allowed-users = [ "@wheel" "@builders" "@video" ]; + # Users allowed to run nix + allowed-users = [ "root" "@wheel" "@builders" "@video" ]; experimental-features = [ "nix-command" "flakes" ]; }; @@ -12,8 +13,5 @@ dates = "weekly"; options = "--delete-older-than 30d"; }; - - # Users allowed to run nix - # allowedUsers = [ "root" ]; }; } |
