From 26d6eab6550dc6bf1581aa0d11f05203f6181f24 Mon Sep 17 00:00:00 2001 From: Luke Adams Date: Wed, 19 Jul 2017 17:41:21 -0500 Subject: prl-tools: remove unnecessary kernel modules --- nixos/modules/virtualisation/parallels-guest.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'nixos') diff --git a/nixos/modules/virtualisation/parallels-guest.nix b/nixos/modules/virtualisation/parallels-guest.nix index bd85973ee5610..f27ee46f48948 100644 --- a/nixos/modules/virtualisation/parallels-guest.nix +++ b/nixos/modules/virtualisation/parallels-guest.nix @@ -55,7 +55,7 @@ in boot.extraModulePackages = [ prl-tools ]; - boot.kernelModules = [ "prl_tg" "prl_eth" "prl_fs" "prl_fs_freeze" "acpi_memhotplug" ]; + boot.kernelModules = [ "prl_tg" "prl_eth" "prl_fs" "prl_fs_freeze" ]; services.timesyncd.enable = false; -- cgit 1.4.1 From 0f047e612bbdee78fae3ea85a6f0eb46428737e3 Mon Sep 17 00:00:00 2001 From: Luke Adams Date: Wed, 19 Jul 2017 14:36:24 -0500 Subject: prl-tools: Add all user services using systemd.user --- nixos/modules/virtualisation/parallels-guest.nix | 53 ++++++++++++++++++++++++ 1 file changed, 53 insertions(+) (limited to 'nixos') diff --git a/nixos/modules/virtualisation/parallels-guest.nix b/nixos/modules/virtualisation/parallels-guest.nix index f27ee46f48948..604ba2e76ef43 100644 --- a/nixos/modules/virtualisation/parallels-guest.nix +++ b/nixos/modules/virtualisation/parallels-guest.nix @@ -89,5 +89,58 @@ in }; }; + systemd.services.prlcc = { + description = "Parallels Control Center"; + wantedBy = [ "graphical.target" ]; + serviceConfig = { + ExecStart = "${prl-tools}/bin/prlcc"; + }; + }; + + systemd.user.services = { + prlcc = { + description = "Parallels Control Center"; + wantedBy = [ "graphical-session.target" ]; + serviceConfig = { + ExecStart = "${prl-tools}/bin/prlcc"; + }; + }; + prldnd = { + description = "Parallels Control Center"; + wantedBy = [ "graphical-session.target" ]; + serviceConfig = { + ExecStart = "${prl-tools}/bin/prldnd"; + }; + }; + prl_wmouse_d = { + description = "Parallels Walking Mouse Daemon"; + wantedBy = [ "graphical-session.target" ]; + serviceConfig = { + ExecStart = "${prl-tools}/bin/prl_wmouse_d"; + }; + }; + prlcp = { + description = "Parallels CopyPaste Tool"; + wantedBy = [ "graphical-session.target" ]; + serviceConfig = { + ExecStart = "${prl-tools}/bin/prlcp"; + }; + }; + prlsga = { + description = "Parallels Shared Guest Applications Tool"; + wantedBy = [ "graphical-session.target" ]; + serviceConfig = { + ExecStart = "${prl-tools}/bin/prlsga"; + }; + }; + prlshprof = { + description = "Parallels Shared Profile Tool"; + wantedBy = [ "graphical-session.target" ]; + serviceConfig = { + ExecStart = "${prl-tools}/bin/prlshprof"; + }; + }; + }; + }; } -- cgit 1.4.1 From 2ce30c5b5303e7a4a991bc852669d13d31823c82 Mon Sep 17 00:00:00 2001 From: Luke Adams Date: Sat, 7 Oct 2017 10:43:26 -0500 Subject: remove prlcc from global systemd services --- nixos/modules/virtualisation/parallels-guest.nix | 9 --------- 1 file changed, 9 deletions(-) (limited to 'nixos') diff --git a/nixos/modules/virtualisation/parallels-guest.nix b/nixos/modules/virtualisation/parallels-guest.nix index 604ba2e76ef43..fc0409e9ec770 100644 --- a/nixos/modules/virtualisation/parallels-guest.nix +++ b/nixos/modules/virtualisation/parallels-guest.nix @@ -27,7 +27,6 @@ in }; config = mkIf config.hardware.parallels.enable { - services.xserver = { drivers = singleton { name = "prlvideo"; modules = [ prl-tools ]; libPath = [ prl-tools ]; }; @@ -89,14 +88,6 @@ in }; }; - systemd.services.prlcc = { - description = "Parallels Control Center"; - wantedBy = [ "graphical.target" ]; - serviceConfig = { - ExecStart = "${prl-tools}/bin/prlcc"; - }; - }; - systemd.user.services = { prlcc = { description = "Parallels Control Center"; -- cgit 1.4.1