nixos/qemu-vm: added security model for shared host nix store

Setting security model for shared host nix store to 'none'.
Using the default 'mapped-xattr' model results in a kernel panic when
running the VM.
This commit is contained in:
Anders Johan Jamtli 2024-02-17 07:18:52 +01:00
parent 2c74da898e
commit a77095a2af
No known key found for this signature in database

View file

@ -1120,6 +1120,7 @@ in
nix-store = mkIf cfg.mountHostNixStore {
source = builtins.storeDir;
target = "/nix/store";
securityModel = "none";
};
xchg = {
source = ''"$TMPDIR"/xchg'';