Skip to content

Commit

Permalink
nixos/uwsm: enable display manager by default (#351626)
Browse files Browse the repository at this point in the history
  • Loading branch information
JohnRTitor authored Oct 28, 2024
2 parents 6294c24 + 7d43e37 commit c6667b3
Showing 1 changed file with 10 additions and 9 deletions.
19 changes: 10 additions & 9 deletions nixos/modules/programs/wayland/uwsm.nix
Original file line number Diff line number Diff line change
Expand Up @@ -108,18 +108,19 @@ in
systemd.packages = [ cfg.package ];
environment.pathsToLink = [ "/share/uwsm" ];

services.graphical-desktop.enable = true;

# UWSM recommends dbus broker for better compatibility
services.dbus.implementation = "broker";

services.displayManager.sessionPackages = lib.mapAttrsToList (
name: value:
mk_uwsm_desktop_entry {
inherit name;
inherit (value) prettyName comment binPath;
}
) cfg.waylandCompositors;
services.displayManager = {
enable = true;
sessionPackages = lib.mapAttrsToList (
name: value:
mk_uwsm_desktop_entry {
inherit name;
inherit (value) prettyName comment binPath;
}
) cfg.waylandCompositors;
};
};

meta.maintainers = with lib.maintainers; [
Expand Down

0 comments on commit c6667b3

Please sign in to comment.