nixos/tests/hardened: fix build by disabling nix.useSandbox
This commit is contained in:
parent
f00bc13ad7
commit
62623b60d5
|
@ -10,6 +10,7 @@ import ./make-test.nix ({ pkgs, ...} : {
|
||||||
{ users.users.alice = { isNormalUser = true; extraGroups = [ "proc" ]; };
|
{ users.users.alice = { isNormalUser = true; extraGroups = [ "proc" ]; };
|
||||||
users.users.sybil = { isNormalUser = true; group = "wheel"; };
|
users.users.sybil = { isNormalUser = true; group = "wheel"; };
|
||||||
imports = [ ../modules/profiles/hardened.nix ];
|
imports = [ ../modules/profiles/hardened.nix ];
|
||||||
|
nix.useSandbox = false;
|
||||||
virtualisation.emptyDiskImages = [ 4096 ];
|
virtualisation.emptyDiskImages = [ 4096 ];
|
||||||
boot.initrd.postDeviceCommands = ''
|
boot.initrd.postDeviceCommands = ''
|
||||||
${pkgs.dosfstools}/bin/mkfs.vfat -n EFISYS /dev/vdb
|
${pkgs.dosfstools}/bin/mkfs.vfat -n EFISYS /dev/vdb
|
||||||
|
|
Loading…
Reference in New Issue