From 66eff7dbb117ccf9cbf743036f058d5dcb0a78e6 Mon Sep 17 00:00:00 2001 From: adikro Date: Sun, 31 May 2026 23:41:20 +0200 Subject: updated, revised some modules, cleaned up secrets management --- os/srv/nix-helper.nix | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'os/srv/nix-helper.nix') diff --git a/os/srv/nix-helper.nix b/os/srv/nix-helper.nix index 9734043..5e5e133 100644 --- a/os/srv/nix-helper.nix +++ b/os/srv/nix-helper.nix @@ -2,6 +2,7 @@ config, lib, pkgs, + username, ... }: let @@ -11,7 +12,10 @@ in options.os.srv.nix-helper.enable = lib.mkEnableOption "enables nix-helper"; config = lib.mkIf cfg.enable { nix.settings = { - allowed-users = [ "@users" ]; + trusted-users = [ + "root" + "${username}" + ]; experimental-features = [ "nix-command" "flakes" -- cgit v1.3