diff --git a/modules/home/programs/hyprland/default.nix b/modules/home/programs/hyprland/default.nix index cc5102e..a5335b5 100644 --- a/modules/home/programs/hyprland/default.nix +++ b/modules/home/programs/hyprland/default.nix @@ -203,7 +203,10 @@ in wayland.windowManager.hyprland = { enable = true; xwayland.enable = true; - systemd.enable = true; + systemd = { + enable = true; + enableXdgAutostart = true; + }; plugins = with pkgs.hyprlandPlugins; [ # hyprgrass diff --git a/modules/nixos/desktop/hyprland/default.nix b/modules/nixos/desktop/hyprland/default.nix index 639a6f7..3b90037 100755 --- a/modules/nixos/desktop/hyprland/default.nix +++ b/modules/nixos/desktop/hyprland/default.nix @@ -48,7 +48,7 @@ in }; # Disable gdm gdm.enable = lib.mkForce false; - defaultSession = "hyprland"; + defaultSession = "hyprland-uwsm"; }; # disable other desktops @@ -68,6 +68,7 @@ in hyprland = { enable = true; xwayland.enable = true; + withUWSM = true; portalPackage = lib.mkDefault pkgs.xdg-desktop-portal-hyprland; };