about summary refs log tree commit diff
diff options
context:
space:
mode:
authorAnders Johan Jamtli <anders@jamtli.no>2024-04-21 07:35:44 +0200
committerGitHub <noreply@github.com>2024-04-21 07:35:44 +0200
commit11dfebc306f5bd905c79ead894cbb15366e63932 (patch)
treeeccebf8fcabac134b521d3ada94eb481fefb1848
parentb73cc8fe46cc0406896544f5741a0a2d2730fcbe (diff)
nixos/qemu-vm: set security model 'none' for shared xchg directory
Co-authored-by: Michele Guerini Rocco <rnhmjoj@users.noreply.github.com>
-rw-r--r--nixos/modules/virtualisation/qemu-vm.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/nixos/modules/virtualisation/qemu-vm.nix b/nixos/modules/virtualisation/qemu-vm.nix
index db2e56c519d8d..feddd0230721c 100644
--- a/nixos/modules/virtualisation/qemu-vm.nix
+++ b/nixos/modules/virtualisation/qemu-vm.nix
@@ -1107,6 +1107,7 @@ in
       };
       xchg = {
         source = ''"$TMPDIR"/xchg'';
+        securityModel = "none";
         target = "/tmp/xchg";
       };
       shared = {