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 ./services.nix
15 ./hypridle.nix
16 ./hyprlock.nix
17 ];
18 config = {
19 catppuccin.hyprland.enable = c.enable;
20 wayland.windowManager.hyprland = {
21 enable = c.enable;
22 # Per https://nix-community.github.io/home-manager/options.xhtml#opt-wayland.windowManager.hyprland.package
23 package = null;
24 systemd = {
25 enable = true;
26 enableXdgAutostart = true;
27 };
28 settings = import ./settings.nix;
29 plugins = [
30 pkgs.hyprlandPlugins.hy3
31 ];
32 };
33 };
34}