Files
LillyOS/modules/desktop/hyprland.nix
2026-01-05 06:05:30 +01:00

12 lines
445 B
Nix

{ inputs, pkgs, config, lib, ...}:
{
programs.hyprland = lib.mkIf config.my.desktop.hyprland.enable {
enable = true;
# set the flake package
package = inputs.hyprland.packages.${pkgs.stdenv.hostPlatform.system}.hyprland;
# make sure to also set the portal package, so that they are in sync
portalPackage = inputs.hyprland.packages.${pkgs.stdenv.hostPlatform.system}.xdg-desktop-portal-hyprland;
withUWSM = true;
};
}