diff options
author | lassulus <lass@lassul.us> | 2017-03-14 11:16:41 +0100 |
---|---|---|
committer | lassulus <lass@lassul.us> | 2017-03-14 11:16:41 +0100 |
commit | 6af17a9ef6d6326614c00a8ea0e53fa8e9e77e01 (patch) | |
tree | 696f46218cd9b46fe3c04e6ca10d83591f9dde60 /lass/2configs/xresources.nix | |
parent | 55c05c18c73873772bb02877114d581c4edbc593 (diff) |
l 2: don't use user serivces
Diffstat (limited to 'lass/2configs/xresources.nix')
-rw-r--r-- | lass/2configs/xresources.nix | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/lass/2configs/xresources.nix b/lass/2configs/xresources.nix index 35dbe2044..b5e721483 100644 --- a/lass/2configs/xresources.nix +++ b/lass/2configs/xresources.nix @@ -36,9 +36,10 @@ let ''; in { - systemd.user.services.xresources = { + systemd.services.xresources = { description = "xresources"; - wantedBy = [ "default.target" ]; + wantedBy = [ "multi-user.target" ]; + after = [ "display-manager.service" ]; environment = { DISPLAY = ":0"; @@ -50,6 +51,7 @@ in { Type = "simple"; ExecStart = "${pkgs.xorg.xrdb}/bin/xrdb -merge ${xresources}"; Restart = "on-failure"; + User = "lass"; }; }; } |