Skip to content

Commit 388616a

Browse files
authored
nixos/uwsm: remove dependency on services.displayManager (#489812)
2 parents 02313e8 + 68278b3 commit 388616a

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

nixos/modules/programs/wayland/uwsm.nix

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -116,14 +116,17 @@ in
116116
{
117117
environment.systemPackages = [ cfg.package ];
118118
systemd.packages = [ cfg.package ];
119-
environment.pathsToLink = [ "/share/uwsm" ];
119+
environment.pathsToLink = [
120+
"/share/uwsm"
121+
"/share/wayland-sessions"
122+
];
120123

121124
# UWSM recommends dbus broker for better compatibility
122125
services.dbus.implementation = "broker";
123126
}
124127

125128
(lib.mkIf (cfg.waylandCompositors != { }) {
126-
services.displayManager.sessionPackages = lib.mapAttrsToList (
129+
environment.systemPackages = lib.mapAttrsToList (
127130
name: value:
128131
mk_uwsm_desktop_entry {
129132
inherit name;

0 commit comments

Comments
 (0)