Clean up systemd units for all graphical services

This commit is contained in:
Robert Helgesson 2017-06-26 18:34:09 +02:00
parent acf8d4e985
commit 9c17c5ccbb
No known key found for this signature in database
GPG key ID: C3DB11069E65DC86
10 changed files with 20 additions and 3 deletions

View file

@ -22,8 +22,8 @@ with lib;
systemd.user.services.dunst = {
Unit = {
Description = "Dunst notification daemon";
Requires = "graphical-session.target";
After = "graphical-session.target";
After = [ "graphical-session-pre.target" ];
PartOf = [ "graphical-session.target" ];
};
Service = {

View file

@ -28,6 +28,7 @@ in
systemd.user.services.gnome-keyring = {
Unit = {
Description = "GNOME Keyring";
PartOf = [ "graphical-session-pre.target" ];
};
Service = {
@ -45,7 +46,7 @@ in
};
Install = {
WantedBy = [ "graphical-session.target" ];
WantedBy = [ "graphical-session-pre.target" ];
};
};
};

View file

@ -13,6 +13,8 @@ with lib;
systemd.user.services.keepassx = {
Unit = {
Description = "KeePassX password manager";
After = [ "graphical-session-pre.target" ];
PartOf = [ "graphical-session.target" ];
};
Install = {

View file

@ -13,6 +13,8 @@ with lib;
systemd.user.services.network-manager-applet = {
Unit = {
Description = "Network Manager applet";
After = [ "graphical-session-pre.target" ];
PartOf = [ "graphical-session.target" ];
};
Install = {

View file

@ -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 = {

View file

@ -99,6 +99,8 @@ in {
systemd.user.services.redshift = {
Unit = {
Description = "Redshift colour temperature adjuster";
After = [ "graphical-session-pre.target" ];
PartOf = [ "graphical-session.target" ];
};
Install = {

View file

@ -27,6 +27,8 @@ in
systemd.user.services.taffybar = {
Unit = {
Description = "Taffybar desktop bar";
After = [ "graphical-session-pre.target" ];
PartOf = [ "graphical-session.target" ];
};
Service = {

View file

@ -13,6 +13,8 @@ with lib;
systemd.user.services.udiskie = {
Unit = {
Description = "Udiskie mount daemon";
After = [ "graphical-session-pre.target" ];
PartOf = [ "graphical-session.target" ];
};
Service = {

View file

@ -13,6 +13,8 @@ with lib;
systemd.user.services.xscreensaver = {
Unit = {
Description = "XScreenSaver";
After = [ "graphical-session-pre.target" ];
PartOf = [ "graphical-session.target" ];
};
Service = {

View file

@ -38,6 +38,8 @@ in
systemd.user.services.setxkbmap = {
Unit = {
Description = "Set up keyboard in X";
After = [ "graphical-session-pre.target" ];
PartOf = [ "graphical-session.target" ];
};
Install = {