Added portals to home/desktop/hypreland.nix

This commit is contained in:
2026-02-22 21:36:28 +01:00
parent 2b8def6e45
commit bc7a6dc667
5 changed files with 300 additions and 234 deletions
Binary file not shown.
+17
View File
@@ -20,4 +20,21 @@ in
source = flakeRoot + "/assets/conf/desktop/hypr/scripts/lid-lock.sh";
executable = true;
};
xdg.portal = {
enable = true;
extraPortals = with pkgs; [
xdg-desktop-portal-gtk
xdg-desktop-portal-hyprland
];
# GTK als algemene backend (OpenURI is daar betrouwbaar)
config.common.default = [ "gtk" ];
# Hyprland alleen voor screensharing / remote desktop
config.hyprland = {
"org.freedesktop.impl.portal.Screencast" = [ "hyprland" ];
"org.freedesktop.impl.portal.RemoteDesktop" = [ "hyprland" ];
};
};
}