configuration.nix/home/wm/default.nix
2024-05-12 13:31:12 +05:30

24 lines
476 B
Nix

{ config, pkgs, ... }:
let
hyprland-pkg = config.wayland.windowManager.hyprland.finalPackage;
in
{
imports = [
./hyprland
./addon
];
xdg.portal = {
enable = true;
xdgOpenUsePortal = true;
extraPortals = [
pkgs.xdg-desktop-portal-gtk
(pkgs.xdg-desktop-portal-hyprland.override { hyprland = hyprland-pkg; })
];
config = {
common = {
default = [ "gtk" ];
};
};
configPackages = [ hyprland-pkg ];
};
}