From aca8cbd679958afc56c35b939d6f6de528e5d926 Mon Sep 17 00:00:00 2001 From: Devin Finlinson Date: Mon, 4 Dec 2023 23:23:10 -0700 Subject: consolidating nix allowed users setting --- modules/nixos/nix-common.nix | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'modules/nixos/nix-common.nix') 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" ]; }; } -- cgit v1.2.3