1{
2 pkgs,
3 config,
4 osConfig,
5 lib,
6 ...
7}:
8let
9 c = osConfig.py.programs.hyprland;
10in
11{
12 imports = [
13 ./services.nix
14 ./hypridle.nix
15 ];
16 config = {
17 catppuccin.hyprland.enable = c.enable;
18 wayland.windowManager.hyprland = {
19 inherit (c) enable;
20 # Per https://nix-community.github.io/home-manager/options.xhtml#opt-wayland.windowManager.hyprland.package
21 package = null;
22 systemd = {
23 enable = true;
24 enableXdgAutostart = true;
25 };
26 settings = import ./settings.nix { inherit lib config; };
27 plugins = [
28 pkgs.hyprlandPlugins.hy3
29 ];
30 };
31 };
32}