2024-03-06 22:33:11 +05:30
|
|
|
{ config, pkgs, ... }:
|
|
|
|
let
|
2024-03-07 00:45:08 +05:30
|
|
|
hyprland-pkg = config.wayland.windowManager.hyprland.finalPackage;
|
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;
|
|
|
|
extraPortals = with pkgs; [
|
|
|
|
xdg-desktop-portal-gtk
|
|
|
|
xdg-desktop-portal-gnome
|
2024-03-07 00:45:08 +05:30
|
|
|
(xdg-desktop-portal-hyprland.override { hyprland = hyprland-pkg; })
|
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
|
|
|
}
|