Use hyprland with UWSM instead of systemd
This commit is contained in:
parent
82a38d37d7
commit
4c01ba7931
|
|
@ -11,6 +11,7 @@ in
|
|||
config = mkIf cfg.enable {
|
||||
programs.hyprland = {
|
||||
enable = true;
|
||||
withUWSM = true;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in New Issue