{ config, pkgs, lib, inputs, ... }: { imports = [ inputs.stylix.nixosModules.stylix ]; config = lib.mkIf (lib.elem config.networking.hostName [ "FredOS-Gaming" "FredOS-Macbook" ]) { stylix = { enable = true; image = "${inputs.self}/walls/wallpaper.png"; polarity = "dark"; # Phase 1: opt in to specific targets only. Apps currently handled by # matugen (gtk, ghostty, zen, btop, vscodium, vesktop) keep their # matugen-derived colors — autoEnable would clobber them. autoEnable = false; cursor = { package = pkgs.adwaita-icon-theme; name = "Adwaita"; size = 24; }; fonts.monospace = { package = pkgs.nerd-fonts.fira-mono; name = "FiraMono Nerd Font"; }; }; # Stylix's NixOS module auto-wires homeModules.stylix into every # home-manager user, so we just opt into targets here. home-manager.users.fred.stylix.targets = { waybar.enable = true; fuzzel.enable = true; mako.enable = true; hyprlock.enable = true; hyprland.enable = true; }; }; }