From 308671dbe88ead0de0cb2cb902f9b4ec0341a11d Mon Sep 17 00:00:00 2001 From: Silvan Mosberger Date: Tue, 19 Mar 2024 19:04:03 +0100 Subject: [PATCH] nixos/nix: Fix example for `nix.settings` option Attribute sets aren't valid option values, needs to be a list --- nixos/modules/config/nix.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nixos/modules/config/nix.nix b/nixos/modules/config/nix.nix index bce6fd5e5028..a40953a3a3c9 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 ''