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