nixos/qemu-vm: set secrurity model for 'shared' and 'certs' directories to 'none'

This commit is contained in:
Anders Johan Jamtli
2024-04-22 05:55:58 +02:00
parent 7aa7920fb0
commit cb46e6864b
+2
View File
@@ -1113,10 +1113,12 @@ in
shared = {
source = ''"''${SHARED_DIR:-$TMPDIR/xchg}"'';
target = "/tmp/shared";
securityModel = "none";
};
certs = mkIf cfg.useHostCerts {
source = ''"$TMPDIR"/certs'';
target = "/etc/ssl/certs";
securityModel = "none";
};
};