nixos/qemu-vm: changed default security model

Changed the default security model for shared directories from 'none' to
the 'mapped-xattr'. QEMU recommends using this option for its security and
reliability benefits.
This commit is contained in:
Anders Johan Jamtli 2024-02-16 06:26:26 +01:00
parent 200e3a934b
commit 2c74da898e
No known key found for this signature in database

View File

@ -476,7 +476,7 @@ in
};
options.securityModel = mkOption {
type = types.enum [ "passthrough" "mapped-xattr" "mapped-file" "none" ];
default = "none";
default = "mapped-xattr";
description = lib.mdDoc ''
The security model to use for this share: