mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-11 04:05:40 +03:00
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:
parent
2c74da898e
commit
a77095a2af
1 changed files with 1 additions and 0 deletions
|
@ -1120,6 +1120,7 @@ in
|
|||
nix-store = mkIf cfg.mountHostNixStore {
|
||||
source = builtins.storeDir;
|
||||
target = "/nix/store";
|
||||
securityModel = "none";
|
||||
};
|
||||
xchg = {
|
||||
source = ''"$TMPDIR"/xchg'';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue