diff options
author | Luke Adams <luke.adams@belljar.io> | 2018-03-01 17:06:43 -0600 |
---|---|---|
committer | Luke Adams <luke.adams@belljar.io> | 2018-03-01 17:09:13 -0600 |
commit | 52747120c100c4a37c61725322e9216618b552cb (patch) | |
tree | fd3b82873cccf1149a9ffe94244ff9635e0e3c99 /nixos/modules/virtualisation/parallels-guest.nix | |
parent | ae7fae71ed4d2e4666a11b7ab60e50dffb71a282 (diff) | |
download | nixpkgs-52747120c100c4a37c61725322e9216618b552cb.tar nixpkgs-52747120c100c4a37c61725322e9216618b552cb.tar.gz nixpkgs-52747120c100c4a37c61725322e9216618b552cb.tar.bz2 nixpkgs-52747120c100c4a37c61725322e9216618b552cb.tar.lz nixpkgs-52747120c100c4a37c61725322e9216618b552cb.tar.xz nixpkgs-52747120c100c4a37c61725322e9216618b552cb.tar.zst nixpkgs-52747120c100c4a37c61725322e9216618b552cb.zip |
parallels: add package config option
allows overriding of package with newer versions
Diffstat (limited to 'nixos/modules/virtualisation/parallels-guest.nix')
-rw-r--r-- | nixos/modules/virtualisation/parallels-guest.nix | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/nixos/modules/virtualisation/parallels-guest.nix b/nixos/modules/virtualisation/parallels-guest.nix index e3b28780ed6..36ca7f356d4 100644 --- a/nixos/modules/virtualisation/parallels-guest.nix +++ b/nixos/modules/virtualisation/parallels-guest.nix @@ -3,9 +3,7 @@ with lib; let - - prl-tools = config.boot.kernelPackages.prl-tools; - + prl-tools = config.hardware.parallels.package; in { @@ -32,6 +30,16 @@ in disable this to manually mount shares. ''; }; + + package = mkOption { + type = types.package; + default = config.boot.kernelPackages.prl-tools; + defaultText = "config.boot.kernelPackages.prl-tools"; + example = literalExample "config.boot.kernelPackages.prl-tools"; + description = '' + Defines which package to use for prl-tools. Override to change the version. + ''; + }; }; }; |