diff options
author | jeschli <jeschli@gmail.com> | 2018-01-19 10:38:32 +0100 |
---|---|---|
committer | jeschli <jeschli@gmail.com> | 2018-01-19 10:38:32 +0100 |
commit | 4918ddf9ecba6c7604065b1b5f3d50bf25d66e4d (patch) | |
tree | 1b5fbd66868b0cdff8793fff2c68909d86d7d28f /lass/2configs/copyq.nix | |
parent | 595b5de0bd57e3f9567ff8554fd49e43b3d9c7b1 (diff) | |
parent | 09abdb667c4c9da77d854a10c8614c22916e639d (diff) |
Merge branch 'master' of prism.r:stockholm
Diffstat (limited to 'lass/2configs/copyq.nix')
-rw-r--r-- | lass/2configs/copyq.nix | 7 |
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"; }; }; } |