parallels: add package config option

allows overriding of package with newer versions

+11 -3
+11 -3
nixos/modules/virtualisation/parallels-guest.nix
··· 3 3 with lib; 4 4 5 5 let 6 - 7 - prl-tools = config.boot.kernelPackages.prl-tools; 8 - 6 + prl-tools = config.hardware.parallels.package; 9 7 in 10 8 11 9 { ··· 30 28 mounted through `mount -t prl_fs ...` as this service will remount and trample any set options. 31 29 Recommended to enable for simple file sharing, but extended share use such as for code should 32 30 disable this to manually mount shares. 31 + ''; 32 + }; 33 + 34 + package = mkOption { 35 + type = types.package; 36 + default = config.boot.kernelPackages.prl-tools; 37 + defaultText = "config.boot.kernelPackages.prl-tools"; 38 + example = literalExample "config.boot.kernelPackages.prl-tools"; 39 + description = '' 40 + Defines which package to use for prl-tools. Override to change the version. 33 41 ''; 34 42 }; 35 43 };