diff options
Diffstat (limited to 'os/srv/nix-helper.nix')
| -rw-r--r-- | os/srv/nix-helper.nix | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/os/srv/nix-helper.nix b/os/srv/nix-helper.nix index 5e5e133..9734043 100644 --- a/os/srv/nix-helper.nix +++ b/os/srv/nix-helper.nix @@ -2,7 +2,6 @@ config, lib, pkgs, - username, ... }: let @@ -12,10 +11,7 @@ in options.os.srv.nix-helper.enable = lib.mkEnableOption "enables nix-helper"; config = lib.mkIf cfg.enable { nix.settings = { - trusted-users = [ - "root" - "${username}" - ]; + allowed-users = [ "@users" ]; experimental-features = [ "nix-command" "flakes" |
