diff options
author | rnhmjoj <rnhmjoj@inventati.org> | 2021-06-23 16:55:53 +0200 |
---|---|---|
committer | rnhmjoj <rnhmjoj@inventati.org> | 2021-09-18 16:47:10 +0200 |
commit | 2af5413cc6cd7d2384854185848765ac1a0e21f9 (patch) | |
tree | 2f8cb8f362989f474edf5725ce0463b0be712136 /nixos/modules | |
parent | 65e83389efd983bbfc9b0408c4502d4b48a4b4c6 (diff) | |
download | nixpkgs-2af5413cc6cd7d2384854185848765ac1a0e21f9.tar nixpkgs-2af5413cc6cd7d2384854185848765ac1a0e21f9.tar.gz nixpkgs-2af5413cc6cd7d2384854185848765ac1a0e21f9.tar.bz2 nixpkgs-2af5413cc6cd7d2384854185848765ac1a0e21f9.tar.lz nixpkgs-2af5413cc6cd7d2384854185848765ac1a0e21f9.tar.xz nixpkgs-2af5413cc6cd7d2384854185848765ac1a0e21f9.tar.zst nixpkgs-2af5413cc6cd7d2384854185848765ac1a0e21f9.zip |
nixos/qemu: set a reasonable msize by default
Diffstat (limited to 'nixos/modules')
-rw-r--r-- | nixos/modules/virtualisation/qemu-vm.nix | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/nixos/modules/virtualisation/qemu-vm.nix b/nixos/modules/virtualisation/qemu-vm.nix index 3802543bdf5..447bd29e49a 100644 --- a/nixos/modules/virtualisation/qemu-vm.nix +++ b/nixos/modules/virtualisation/qemu-vm.nix @@ -280,11 +280,11 @@ in virtualisation.msize = mkOption { - default = null; - type = types.nullOr types.ints.unsigned; + type = types.ints.positive; + default = 16384; description = '' - msize (maximum packet size) option passed to 9p file systems, in + The msize (maximum packet size) option passed to 9p file systems, in bytes. Increasing this should increase performance significantly, at the cost of higher RAM usage. ''; |