summaryrefslogtreecommitdiff
path: root/os/srv/nix-helper.nix
diff options
context:
space:
mode:
authoradikro <adikro@disroot.org>2026-05-23 21:32:00 +0200
committeradikro <adikro@disroot.org>2026-05-23 21:32:00 +0200
commitc7abbc56562f9745d9d1bb29f3c0d4874425e92c (patch)
tree2e652540993b69b0d33260902b85ea1c2207d3f6 /os/srv/nix-helper.nix
parentc6b6a3e6c702834eac2b633db2ed4c397b4ae113 (diff)
updates
Diffstat (limited to 'os/srv/nix-helper.nix')
-rw-r--r--os/srv/nix-helper.nix6
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"