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