Clean up systemd units for all graphical services
This commit is contained in:
parent
acf8d4e985
commit
9c17c5ccbb
|
@ -22,8 +22,8 @@ with lib;
|
||||||
systemd.user.services.dunst = {
|
systemd.user.services.dunst = {
|
||||||
Unit = {
|
Unit = {
|
||||||
Description = "Dunst notification daemon";
|
Description = "Dunst notification daemon";
|
||||||
Requires = "graphical-session.target";
|
After = [ "graphical-session-pre.target" ];
|
||||||
After = "graphical-session.target";
|
PartOf = [ "graphical-session.target" ];
|
||||||
};
|
};
|
||||||
|
|
||||||
Service = {
|
Service = {
|
||||||
|
|
|
@ -28,6 +28,7 @@ in
|
||||||
systemd.user.services.gnome-keyring = {
|
systemd.user.services.gnome-keyring = {
|
||||||
Unit = {
|
Unit = {
|
||||||
Description = "GNOME Keyring";
|
Description = "GNOME Keyring";
|
||||||
|
PartOf = [ "graphical-session-pre.target" ];
|
||||||
};
|
};
|
||||||
|
|
||||||
Service = {
|
Service = {
|
||||||
|
@ -45,7 +46,7 @@ in
|
||||||
};
|
};
|
||||||
|
|
||||||
Install = {
|
Install = {
|
||||||
WantedBy = [ "graphical-session.target" ];
|
WantedBy = [ "graphical-session-pre.target" ];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
@ -13,6 +13,8 @@ with lib;
|
||||||
systemd.user.services.keepassx = {
|
systemd.user.services.keepassx = {
|
||||||
Unit = {
|
Unit = {
|
||||||
Description = "KeePassX password manager";
|
Description = "KeePassX password manager";
|
||||||
|
After = [ "graphical-session-pre.target" ];
|
||||||
|
PartOf = [ "graphical-session.target" ];
|
||||||
};
|
};
|
||||||
|
|
||||||
Install = {
|
Install = {
|
||||||
|
|
|
@ -13,6 +13,8 @@ with lib;
|
||||||
systemd.user.services.network-manager-applet = {
|
systemd.user.services.network-manager-applet = {
|
||||||
Unit = {
|
Unit = {
|
||||||
Description = "Network Manager applet";
|
Description = "Network Manager applet";
|
||||||
|
After = [ "graphical-session-pre.target" ];
|
||||||
|
PartOf = [ "graphical-session.target" ];
|
||||||
};
|
};
|
||||||
|
|
||||||
Install = {
|
Install = {
|
||||||
|
|
|
@ -42,6 +42,8 @@ in
|
||||||
systemd.user.services.random-background = {
|
systemd.user.services.random-background = {
|
||||||
Unit = {
|
Unit = {
|
||||||
Description = "Set random desktop background using feh";
|
Description = "Set random desktop background using feh";
|
||||||
|
After = [ "graphical-session-pre.target" ];
|
||||||
|
PartOf = [ "graphical-session.target" ];
|
||||||
};
|
};
|
||||||
|
|
||||||
Service = {
|
Service = {
|
||||||
|
|
|
@ -99,6 +99,8 @@ in {
|
||||||
systemd.user.services.redshift = {
|
systemd.user.services.redshift = {
|
||||||
Unit = {
|
Unit = {
|
||||||
Description = "Redshift colour temperature adjuster";
|
Description = "Redshift colour temperature adjuster";
|
||||||
|
After = [ "graphical-session-pre.target" ];
|
||||||
|
PartOf = [ "graphical-session.target" ];
|
||||||
};
|
};
|
||||||
|
|
||||||
Install = {
|
Install = {
|
||||||
|
|
|
@ -27,6 +27,8 @@ in
|
||||||
systemd.user.services.taffybar = {
|
systemd.user.services.taffybar = {
|
||||||
Unit = {
|
Unit = {
|
||||||
Description = "Taffybar desktop bar";
|
Description = "Taffybar desktop bar";
|
||||||
|
After = [ "graphical-session-pre.target" ];
|
||||||
|
PartOf = [ "graphical-session.target" ];
|
||||||
};
|
};
|
||||||
|
|
||||||
Service = {
|
Service = {
|
||||||
|
|
|
@ -13,6 +13,8 @@ with lib;
|
||||||
systemd.user.services.udiskie = {
|
systemd.user.services.udiskie = {
|
||||||
Unit = {
|
Unit = {
|
||||||
Description = "Udiskie mount daemon";
|
Description = "Udiskie mount daemon";
|
||||||
|
After = [ "graphical-session-pre.target" ];
|
||||||
|
PartOf = [ "graphical-session.target" ];
|
||||||
};
|
};
|
||||||
|
|
||||||
Service = {
|
Service = {
|
||||||
|
|
|
@ -13,6 +13,8 @@ with lib;
|
||||||
systemd.user.services.xscreensaver = {
|
systemd.user.services.xscreensaver = {
|
||||||
Unit = {
|
Unit = {
|
||||||
Description = "XScreenSaver";
|
Description = "XScreenSaver";
|
||||||
|
After = [ "graphical-session-pre.target" ];
|
||||||
|
PartOf = [ "graphical-session.target" ];
|
||||||
};
|
};
|
||||||
|
|
||||||
Service = {
|
Service = {
|
||||||
|
|
|
@ -38,6 +38,8 @@ in
|
||||||
systemd.user.services.setxkbmap = {
|
systemd.user.services.setxkbmap = {
|
||||||
Unit = {
|
Unit = {
|
||||||
Description = "Set up keyboard in X";
|
Description = "Set up keyboard in X";
|
||||||
|
After = [ "graphical-session-pre.target" ];
|
||||||
|
PartOf = [ "graphical-session.target" ];
|
||||||
};
|
};
|
||||||
|
|
||||||
Install = {
|
Install = {
|
||||||
|
|
Loading…
Reference in a new issue