git.iko.soy/typeable/nixpkgs
on master help sign in
prl-tools: Add all user services using systemd.user
commit0f047e612bbdee78fae3ea85a6f0eb46428737e3 authorLuke Adams <luke.adams@belljar.io> dateWed 19 Jul 2017, 14:36 (9 years ago) parent6ead149
1 file changed+53
nixos/modules/virtualisation/parallels-guest.nix+53
nixos/modules/virtualisation/parallels-guest.nix+53
@@ -89,5 +89,58 @@ in
8989 };
9090 };
9191
92+ systemd.services.prlcc = {
93+ description = "Parallels Control Center";
94+ wantedBy = [ "graphical.target" ];
95+ serviceConfig = {
96+ ExecStart = "${prl-tools}/bin/prlcc";
97+ };
98+ };
99+
100+ systemd.user.services = {
101+ prlcc = {
102+ description = "Parallels Control Center";
103+ wantedBy = [ "graphical-session.target" ];
104+ serviceConfig = {
105+ ExecStart = "${prl-tools}/bin/prlcc";
106+ };
107+ };
108+ prldnd = {
109+ description = "Parallels Control Center";
110+ wantedBy = [ "graphical-session.target" ];
111+ serviceConfig = {
112+ ExecStart = "${prl-tools}/bin/prldnd";
113+ };
114+ };
115+ prl_wmouse_d = {
116+ description = "Parallels Walking Mouse Daemon";
117+ wantedBy = [ "graphical-session.target" ];
118+ serviceConfig = {
119+ ExecStart = "${prl-tools}/bin/prl_wmouse_d";
120+ };
121+ };
122+ prlcp = {
123+ description = "Parallels CopyPaste Tool";
124+ wantedBy = [ "graphical-session.target" ];
125+ serviceConfig = {
126+ ExecStart = "${prl-tools}/bin/prlcp";
127+ };
128+ };
129+ prlsga = {
130+ description = "Parallels Shared Guest Applications Tool";
131+ wantedBy = [ "graphical-session.target" ];
132+ serviceConfig = {
133+ ExecStart = "${prl-tools}/bin/prlsga";
134+ };
135+ };
136+ prlshprof = {
137+ description = "Parallels Shared Profile Tool";
138+ wantedBy = [ "graphical-session.target" ];
139+ serviceConfig = {
140+ ExecStart = "${prl-tools}/bin/prlshprof";
141+ };
142+ };
143+ };
144+
92145 };
93146}