Skip to content

Commit 5558b70

Browse files
committed
home-manager is now using graphical-session.target by default for GUI
services nix-community/home-manager#5785
1 parent 8d4a6a8 commit 5558b70

File tree

4 files changed

+0
-13
lines changed

4 files changed

+0
-13
lines changed

home/nico.nix

-2
Original file line numberDiff line numberDiff line change
@@ -111,8 +111,6 @@
111111
# Nicely reload system units when changing configs
112112
systemd.user.startServices = "sd-switch";
113113

114-
systemd.user.targets.tray.Unit.Requires = lib.mkForce ["graphical-session.target"];
115-
116114
# this systemd unit is needed to get fumon from the uwsm package working
117115
# properly
118116
systemd.user.services.fumon = {

home/services/default.nix

-8
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,4 @@
1818

1919
swaync.enable = true;
2020
};
21-
22-
systemd.user.services = {
23-
network-manager-applet.Unit.After = lib.mkForce "graphical-session.target";
24-
blueman-applet.Unit.After = lib.mkForce "graphical-session.target";
25-
kdeconnect.Unit.After = lib.mkForce "graphical-session.target";
26-
kdeconnect-indicator.Unit.After = lib.mkForce "graphical-session.target";
27-
swaync.Unit.After = lib.mkForce "graphical-session.target";
28-
};
2921
}

home/services/hyprland/default.nix

-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@
1313

1414
services.hypridle.enable = true;
1515
xdg.configFile."hypr/hypridle.conf".source = ./hypridle.conf;
16-
systemd.user.services.hypridle.Unit.After = lib.mkForce "graphical-session.target";
1716

1817
xdg.configFile."uwsm/env".text = /*sh*/''
1918
export XCURSOR_SIZE=24

home/services/wlsunset/default.nix

-2
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,4 @@
1212
night = 4600;
1313
};
1414
};
15-
16-
systemd.user.services.wlsunset.Unit.After = lib.mkForce "graphical-session.target";
1715
}

0 commit comments

Comments
 (0)