Remove unnecissary conditions

This commit is contained in:
SebastianStork 2024-03-26 20:26:51 +01:00
parent ff77b68230
commit 25e2ebad91

View file

@ -31,7 +31,7 @@ in {
xsession.enable = osConfig.services.xserver.enable;
systemd.user.services = {
syncthingtray = lib.mkIf cfg.tray.syncthing.enable {
syncthingtray = {
Unit = {
Description = "Syncthingtray";
Requires = ["tray.target"];
@ -59,7 +59,7 @@ in {
xsession.enable = osConfig.services.xserver.enable;
systemd.user.services = {
nm-applet = lib.mkIf cfg.tray.networkmanager.enable {
nm-applet = {
Unit = {
Description = "Networkmanager-applet";
Requires = ["tray.target"];