summaryrefslogtreecommitdiffstats
path: root/lass/2configs/copyq.nix
diff options
context:
space:
mode:
authorlassulus <lass@lassul.us>2017-03-14 11:16:41 +0100
committerlassulus <lass@lassul.us>2017-03-14 11:16:41 +0100
commit6af17a9ef6d6326614c00a8ea0e53fa8e9e77e01 (patch)
tree696f46218cd9b46fe3c04e6ca10d83591f9dde60 /lass/2configs/copyq.nix
parent55c05c18c73873772bb02877114d581c4edbc593 (diff)
l 2: don't use user serivces
Diffstat (limited to 'lass/2configs/copyq.nix')
-rw-r--r--lass/2configs/copyq.nix8
1 files changed, 4 insertions, 4 deletions
diff --git a/lass/2configs/copyq.nix b/lass/2configs/copyq.nix
index 0616c4025..e0546194e 100644
--- a/lass/2configs/copyq.nix
+++ b/lass/2configs/copyq.nix
@@ -19,10 +19,9 @@ let
${pkgs.copyq}/bin/copyq config text_wrap true
'';
in {
- systemd.user.services.copyq = {
- after = [ "graphical.target" ];
- wants = [ "graphical.target" ];
- wantedBy = [ "default.target" ];
+ systemd.services.copyq = {
+ wantedBy = [ "multi-user.target" ];
+ requires = [ "display-manager.service" ];
environment = {
DISPLAY = ":0";
};
@@ -33,6 +32,7 @@ in {
Restart = "always";
RestartSec = "2s";
StartLimitBurst = 0;
+ User = "lass";
};
};
}