summaryrefslogtreecommitdiffstats
path: root/nixos/tests/hardened.nix
diff options
context:
space:
mode:
authorJoachim Fasting <joachifm@fastmail.fm>2018-11-24 14:57:50 +0100
committerJoachim Fasting <joachifm@fastmail.fm>2018-11-24 16:06:18 +0100
commit62623b60d5fed91ac676d6f4a70a12570090d513 (patch)
treef3fae1cd1617c35fe9fbe08343f53a7135203477 /nixos/tests/hardened.nix
parentf00bc13ad7c3a322bc340a1babdfdd9a44adde83 (diff)
nixos/tests/hardened: fix build by disabling nix.useSandbox
Diffstat (limited to 'nixos/tests/hardened.nix')
-rw-r--r--nixos/tests/hardened.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/nixos/tests/hardened.nix b/nixos/tests/hardened.nix
index 2700b8e5935a..bc279e489f91 100644
--- a/nixos/tests/hardened.nix
+++ b/nixos/tests/hardened.nix
@@ -10,6 +10,7 @@ import ./make-test.nix ({ pkgs, ...} : {
{ users.users.alice = { isNormalUser = true; extraGroups = [ "proc" ]; };
users.users.sybil = { isNormalUser = true; group = "wheel"; };
imports = [ ../modules/profiles/hardened.nix ];
+ nix.useSandbox = false;
virtualisation.emptyDiskImages = [ 4096 ];
boot.initrd.postDeviceCommands = ''
${pkgs.dosfstools}/bin/mkfs.vfat -n EFISYS /dev/vdb