dotfiles/nixos/modules/hyprland/hyprland.nix

28 lines
506 B
Nix
Raw Normal View History

2025-01-09 02:09:02 -06:00
{
pkgs,
flake,
...
}: {
programs.hyprland = {
enable = true;
xwayland.enable = true;
package = flake.inputs.hyprland.packages.${pkgs.system}.hyprland;
};
xdg.portal = {
enable = true;
extraPortals = [
pkgs.xdg-desktop-portal-gtk
];
};
nix = {
settings = {
substituters = [
"https://hyprland.cachix.org"
];
trusted-public-keys = [
"hyprland.cachix.org-1:a7pgxzMz7+chwVL3/pzj6jIBMioiJM7ypFP8PwtkuGc="
];
};
};
}