summaryrefslogtreecommitdiffstats
path: root/lass
diff options
context:
space:
mode:
authorlassulus <lassulus@lassul.us>2018-01-18 19:39:50 +0100
committerlassulus <lassulus@lassul.us>2018-01-18 19:39:50 +0100
commit4e9870e45a9e11f5008ee6c6abf260a96cfb21c0 (patch)
treeef05a81b3294e2f44d4d62d2bf3dd52602ccd0a1 /lass
parent44cdb9227eea5c0d80d78fa8140884ae61f989c5 (diff)
l copyq: run as user service
Diffstat (limited to 'lass')
-rw-r--r--lass/2configs/copyq.nix7
1 files changed, 3 insertions, 4 deletions
diff --git a/lass/2configs/copyq.nix b/lass/2configs/copyq.nix
index cd10313fc..56c091a6e 100644
--- a/lass/2configs/copyq.nix
+++ b/lass/2configs/copyq.nix
@@ -19,9 +19,9 @@ let
${pkgs.copyq}/bin/copyq config text_wrap true
'';
in {
- systemd.services.copyq = {
- wantedBy = [ "multi-user.target" ];
- requires = [ "xserver.service" ];
+ systemd.user.services.copyq = {
+ wantedBy = [ "graphical-session.target" ];
+ requires = [ "xmonad.service" ];
environment = {
DISPLAY = ":${toString config.services.xserver.display}";
};
@@ -35,7 +35,6 @@ in {
Restart = "always";
RestartSec = "15s";
StartLimitBurst = 0;
- User = "lass";
};
};
}