configuration.nix/home/wm/default.nix

25 lines
476 B
Nix
Raw Normal View History

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;
2024-05-12 13:31:12 +05:30
extraPortals = [
pkgs.xdg-desktop-portal-gtk
(pkgs.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
}