From b77f2a3c45f0c5e363759f3113e405df1b62f1e9 Mon Sep 17 00:00:00 2001 From: mjallen18 Date: Thu, 23 Oct 2025 16:06:01 -0500 Subject: [PATCH] hypr --- modules/home/programs/hyprland/default.nix | 5 ++++- modules/nixos/desktop/hyprland/default.nix | 3 ++- 2 files changed, 6 insertions(+), 2 deletions(-) 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; };