Use hyprland with UWSM instead of systemd

This commit is contained in:
Joshua Yuen 2025-07-29 13:31:29 -04:00
parent 47cb73aef3
commit 993e629eb2
Signed by: josh
GPG Key ID: 502720BC22ED411C
2 changed files with 2 additions and 8 deletions

View File

@ -11,6 +11,7 @@ in
config = mkIf cfg.enable {
programs.hyprland = {
enable = true;
withUWSM = true;
};
};
}

View File

@ -11,17 +11,10 @@ let
cfg = osConfig.modules.hyprland;
in
{
systemd.user.targets.hyprland-session.Unit.Wants = [
"xdg-desktop-autostart.target"
];
wayland.windowManager.hyprland = {
enable = cfg.enable;
package = pkgs.hyprland;
systemd = {
enable = true;
enableXdgAutostart = true;
};
systemd.enable = false;
xwayland.enable = true;
settings = {
monitor = cfg.monitor;