Adds nix-community/stylix on its release-25.11 branch (master references options that don't exist in 25.11's nixpkgs). autoEnable=false so matugen keeps owning every app it currently themes; we only opt in to the five targets matugen doesn't cover. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
40 lines
1 KiB
Nix
40 lines
1 KiB
Nix
{ 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";
|
|
};
|
|
};
|
|
|
|
home-manager.users.fred = {
|
|
imports = [ inputs.stylix.homeModules.stylix ];
|
|
|
|
stylix.targets = {
|
|
waybar.enable = true;
|
|
fuzzel.enable = true;
|
|
mako.enable = true;
|
|
hyprlock.enable = true;
|
|
hyprland.enable = true;
|
|
};
|
|
};
|
|
};
|
|
}
|