{ pkgs, config, osConfig, lib, ... }: let c = osConfig.py.programs.hyprland; cfg = config.wayland.windowManager.hyprland; in { imports = [ ./services.nix ./hypridle.nix ]; config = { catppuccin.hyprland.enable = c.enable; wayland.windowManager.hyprland = { enable = c.enable; # Per https://nix-community.github.io/home-manager/options.xhtml#opt-wayland.windowManager.hyprland.package package = null; systemd = { enable = true; enableXdgAutostart = true; }; settings = (import ./settings.nix { inherit lib config; }); plugins = [ pkgs.hyprlandPlugins.hy3 ]; }; }; }