nixos/tests/hardened: fix build by disabling nix.useSandbox

This commit is contained in:
Joachim Fasting 2018-11-24 14:57:50 +01:00
parent f00bc13ad7
commit 62623b60d5
No known key found for this signature in database
GPG Key ID: 5C204DF675C90294

View File

@ -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