This commit is contained in:
martyTF 2026-03-29 08:15:43 +02:00
parent 47c44371e6
commit 7e3533b77e
16 changed files with 234 additions and 131 deletions

View file

@ -2,6 +2,7 @@
config,
pkgs,
lib,
inputs,
...
}:
@ -24,16 +25,21 @@
enable = true;
withUWSM = true;
xwayland.enable = true;
};
programs.uwsm = {
enable = true;
waylandCompositors = {
hyprland = {
prettyName = "Hyprland";
comment = "Hyprland compositor managed by UWSM";
binPath = "/run/current-system/sw/bin/start-hyprland";
};
package = inputs.hyprland.packages.${pkgs.stdenv.hostPlatform.system}.hyprland;
portalPackage =
inputs.hyprland.packages.${pkgs.stdenv.hostPlatform.system}.xdg-desktop-portal-hyprland;
};
};
# programs.sway.enable = true;
# programs.uwsm = {
# enable = true;
# waylandCompositors = {
# hyprland = {
# prettyName = "Hyprland";
# comment = "Hyprland compositor managed by UWSM";
# binPath = "${config.programs.hyprland.package}/share/wayland-sessions/hyprland.desktop";
# };
# };
# };
}