diff --git a/home/hypr/hyprland/execs.nix b/home/hypr/hyprland/execs.nix index 98fed9f..021c733 100644 --- a/home/hypr/hyprland/execs.nix +++ b/home/hypr/hyprland/execs.nix @@ -8,7 +8,6 @@ "easyeffects --hide-window --service-mode" "wl-paste --type text --watch cliphist store" "wl-paste --type image --watch cliphist store" - "sleep 2 && systemctl --user restart xdg-desktop-portal xdg-desktop-portal-hyprland xdg-desktop-portal-gtk" ]; }; } diff --git a/home/hyprland.nix b/home/hyprland.nix index 8f83f3e..4e38967 100644 --- a/home/hyprland.nix +++ b/home/hyprland.nix @@ -8,5 +8,6 @@ package = inputs.hyprland.packages.${pkgs.system}.hyprland; xwayland.enable = true; systemd.enable = true; + systemd.variables = [ "-all" ]; }; } diff --git a/nixos/desktop/window-managers/hyprland.nix b/nixos/desktop/window-managers/hyprland.nix index 4385afb..4c9d8e0 100644 --- a/nixos/desktop/window-managers/hyprland.nix +++ b/nixos/desktop/window-managers/hyprland.nix @@ -11,6 +11,7 @@ package = inputs.hyprland.packages.${pkgs.system}.hyprland; portalPackage = inputs.hyprland.packages.${pkgs.system}.xdg-desktop-portal-hyprland; xwayland.enable = true; + withUWSM = true; }; xdg.portal = {