configuration.nix/home/wm/default.nix

26 lines
493 B
Nix
Raw Normal View History

2024-03-06 22:33:11 +05:30
{ config, pkgs, ... }:
let
hyprland = config.wayland.windowManager.hyprland.finalPackage;
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
(xdg-desktop-portal-hyprland.override { inherit hyprland; })
];
config = {
common = {
default = [ "gtk" ];
};
};
configPackages = [ hyprland ];
};
2023-04-04 09:41:51 +05:30
}