nixos/modules/programs/wayland/uwsm.nix
0 → 100644
+129
−0
Loading
Admins will be upgrading ORNL GitLab Servers on Saturday, 16 May 2026, from 7 AM until 11 AM EST. Repositories will experience intermittent outages during this time.
[UWSM](https://github.com/Vladimir-csp/uwsm ) is a session manager that wraps a wayland window compositor with useful systemd units like `graphical-session-pre.target`, `graphical-session.target`, `xdg-desktop-autostart.target`. This is useful for Wayland Compositors that do not start these units on these own. Example for Hyprland: ```nix programs.hyprland.enable = true; programs.uwsm.enable = true; programs.uwsm.waylandCompositors = { hyprland = { compositorPrettyName = "Hyprland"; compositorComment = "Hyprland compositor managed by UWSM"; compositorBinPath = "/run/current-system/sw/bin/Hyprland"; }; }; ``` Co-authored-by:Kai Norman Clasen <k.clasen@protonmail.com>