2024-05-12 14:52:02 +05:30
|
|
|
{ config, pkgs, hyprland, ... }:
|
2024-03-06 22:33:11 +05:30
|
|
|
let
|
2024-03-07 00:45:08 +05:30
|
|
|
hyprland-pkg = config.wayland.windowManager.hyprland.finalPackage;
|
2024-05-12 15:01:10 +05:30
|
|
|
#xdph = hyprland.packages.${pkgs.system}.xdg-desktop-portal-hyprland.override { hyprland = hyprland-pkg; };
|
|
|
|
xdph = pkgs.xdg-desktop-portal-hyprland;
|
2024-03-06 22:33:11 +05:30
|
|
|
in
|
|
|
|
{
|
2023-04-04 09:41:51 +05:30
|
|
|
imports = [
|
2023-04-05 22:39:22 +05:30
|
|
|
./hyprland
|
2023-04-04 09:41:51 +05:30
|
|
|
./addon
|
|
|
|
];
|
2024-03-06 22:33:11 +05:30
|
|
|
xdg.portal = {
|
|
|
|
enable = true;
|
|
|
|
xdgOpenUsePortal = true;
|
2024-05-12 13:31:12 +05:30
|
|
|
extraPortals = [
|
|
|
|
pkgs.xdg-desktop-portal-gtk
|
2024-05-12 15:01:10 +05:30
|
|
|
xdph
|
2024-03-06 22:33:11 +05:30
|
|
|
];
|
|
|
|
config = {
|
|
|
|
common = {
|
|
|
|
default = [ "gtk" ];
|
|
|
|
};
|
|
|
|
};
|
2024-03-07 00:45:08 +05:30
|
|
|
configPackages = [ hyprland-pkg ];
|
2024-03-06 22:33:11 +05:30
|
|
|
};
|
2023-04-04 09:41:51 +05:30
|
|
|
}
|