From 19fd84fa24b97648e716d1d0b0f46f47835aaf9d Mon Sep 17 00:00:00 2001 From: Adithya Nair Date: Sun, 18 Feb 2024 15:32:45 +0530 Subject: [PATCH] more portal magic --- home/default.nix | 4 +++- home/wm/hyprland/default.nix | 5 ++++- hosts/skipper/default.nix | 1 + 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/home/default.nix b/home/default.nix index 33774fd..5d07385 100644 --- a/home/default.nix +++ b/home/default.nix @@ -18,7 +18,9 @@ }; }; portal = { - extraPortals = with pkgs; [ xdg-desktop-portal-gtk xdg-desktop-portal-hyprland ]; + enable = true; + xdgOpenUsePortal = true; + extraPortals = with pkgs; [ xdg-desktop-portal-gtk xdg-desktop-portal-gnome xdg-desktop-portal-hyprland ]; config = { common = { default = [ "gtk" ]; diff --git a/home/wm/hyprland/default.nix b/home/wm/hyprland/default.nix index 43f3f88..4b68389 100644 --- a/home/wm/hyprland/default.nix +++ b/home/wm/hyprland/default.nix @@ -22,7 +22,10 @@ in { wayland.windowManager.hyprland = { enable = true; - systemd.enable = true; + systemd = { + enable = true; + variables = [ "--all" ]; + }; settings = { general = { border_size = 1; diff --git a/hosts/skipper/default.nix b/hosts/skipper/default.nix index ae0ef12..f33af0c 100644 --- a/hosts/skipper/default.nix +++ b/hosts/skipper/default.nix @@ -62,6 +62,7 @@ xdg.portal = { enable = true; + xdgOpenUsePortal = true; config.common.default = [ "gtk" ]; };