aboutsummaryrefslogtreecommitdiff
path: root/modules/services/random-background.nix
diff options
context:
space:
mode:
authorRobert Helgesson <robert@rycee.net>2017-06-26 18:34:09 +0200
committerRobert Helgesson <robert@rycee.net>2017-06-26 18:42:27 +0200
commit9c17c5ccbbf5626f684eecc2ce660086ac8e249c (patch)
tree49f08c03aa391a1a740b299a671c6eeb3e26ea98 /modules/services/random-background.nix
parentacf8d4e985d1e31374a8d39239bd94cbf4fbde9f (diff)
Clean up systemd units for all graphical services
Diffstat (limited to '')
-rw-r--r--modules/services/random-background.nix2
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/services/random-background.nix b/modules/services/random-background.nix
index c221740ca65..f1b8d39d195 100644
--- a/modules/services/random-background.nix
+++ b/modules/services/random-background.nix
@@ -42,6 +42,8 @@ in
systemd.user.services.random-background = {
Unit = {
Description = "Set random desktop background using feh";
+ After = [ "graphical-session-pre.target" ];
+ PartOf = [ "graphical-session.target" ];
};
Service = {