diff options
| author | adikro <adikro@disroot.org> | 2026-05-31 23:41:20 +0200 |
|---|---|---|
| committer | adikro <adikro@disroot.org> | 2026-05-31 23:41:20 +0200 |
| commit | 66eff7dbb117ccf9cbf743036f058d5dcb0a78e6 (patch) | |
| tree | 2bfc78514ff3c3d2b3ebf184b4e1608e454d11e2 /os/srv/nix-helper.nix | |
| parent | b02651ac4683d6f116f912d79a7b158c127e4ea2 (diff) | |
updated, revised some modules, cleaned up secrets management
Diffstat (limited to 'os/srv/nix-helper.nix')
| -rw-r--r-- | os/srv/nix-helper.nix | 6 |
1 files changed, 5 insertions, 1 deletions
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" |
