about summary refs log tree commit diff
path: root/nixos/modules/config
diff options
context:
space:
mode:
authorSilvan Mosberger <silvan.mosberger@tweag.io>2024-03-19 19:04:03 +0100
committerBjørn Forsman <bjorn.forsman@gmail.com>2024-03-19 22:55:19 +0100
commit308671dbe88ead0de0cb2cb902f9b4ec0341a11d (patch)
tree68741c0a7ac8319214f0a6c205109cca697c7612 /nixos/modules/config
parent509d2e8ed390ced3762be39e440b03696d81f742 (diff)
nixos/nix: Fix example for `nix.settings` option
Attribute sets aren't valid option values, needs to be a list
Diffstat (limited to 'nixos/modules/config')
-rw-r--r--nixos/modules/config/nix.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/config/nix.nix b/nixos/modules/config/nix.nix
index bce6fd5e50288..a40953a3a3c92 100644
--- a/nixos/modules/config/nix.nix
+++ b/nixos/modules/config/nix.nix
@@ -352,7 +352,7 @@ in
             show-trace = true;
 
             system-features = [ "big-parallel" "kvm" "recursive-nix" ];
-            sandbox-paths = { "/bin/sh" = "''${pkgs.busybox-sandbox-shell.out}/bin/busybox"; };
+            sandbox-paths = [ "/bin/sh=''${pkgs.busybox-sandbox-shell.out}/bin/busybox" ];
           }
         '';
         description = lib.mdDoc ''