{ inputs, config, lib, system, pkgs, ... }: let inherit (lib) mkIf; cfg = config.desktops.hyprland; in { imports = [ ./binds.nix ./env.nix ./idle.nix ./plugins.nix ./settings.nix ./wallpaper.nix ]; config = mkIf cfg.enable { home.packages = with pkgs; [ rose-pine-hyprcursor ]; wayland.windowManager.hyprland = { enable = true; package = inputs.hyprland.packages.${system}.hyprland; portalPackage = inputs.hyprland.packages.${system}.xdg-desktop-portal-hyprland; xwayland.enable = true; systemd.enable = true; }; }; }