configuration.nix/home/wm/default.nix
2024-03-07 00:45:08 +05:30

25 lines
508 B
Nix

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