Flips stylix.autoEnable on so every supported target picks up colours
from the wallpaper-derived base16 palette, and tears out the per-app
matugen plumbing it replaces:
- fred.nix: drop the matugen config.toml block and the .keep files;
move btop and ghostty to programs.* with the colour-bearing options
removed (stylix owns those).
- gnome.nix: remove the matugen and jq packages, the hand-written
gtk.css home.file overrides (replaced by gtk.gtk{3,4}.extraCss layered
on top of stylix's theme), the WallpaperShell user-themes override,
and the gtk-theme/cursor-theme/accent-color dconf entries that stylix
now writes.
- stylix.nix: add a home.activation hook that recolours Adwaita folder
SVGs using stylix.colors.base0D and pulls in Papirus mimetypes —
same outcome as the old matugen post-hook but driven by stylix.
- common.nix: drop the matugen invocation from the `update` alias.
Leftover matugen-only behaviour intentionally dropped: Vesktop CSS,
the GNOME accent hue-mapping, the VSCodium colour-merge (stylix's
vscode target handles that natively). Templates in templates/ are kept
on disk for now; can be removed in a follow-up.
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
49 lines
1.3 KiB
Nix
49 lines
1.3 KiB
Nix
# home-manager/fred.nix
|
|
{ config, pkgs, lib, inputs, osConfig, ... }:
|
|
let
|
|
isDesktop = lib.elem osConfig.networking.hostName [ "FredOS-Gaming" "FredOS-Macbook" ];
|
|
in
|
|
{
|
|
home.stateVersion = "25.11";
|
|
|
|
home.packages = with pkgs; [
|
|
#
|
|
];
|
|
|
|
home.file.".config/nixpkgs/config.nix".text = ''
|
|
{ allowUnfree = true; }
|
|
'';
|
|
|
|
# Wallpaper source — consumed by stylix's image option (set in
|
|
# settings/stylix.nix) and by hyprpaper at session start.
|
|
home.file.".local/share/backgrounds/wallpaper.png".source =
|
|
"${inputs.self}/walls/wallpaper.png";
|
|
|
|
# btop — stylix's btop target writes the colour theme; we keep our
|
|
# non-colour preferences here.
|
|
programs.btop = lib.mkIf isDesktop {
|
|
enable = true;
|
|
settings = {
|
|
theme_background = false;
|
|
vim_keys = false;
|
|
};
|
|
};
|
|
|
|
# Ghostty — stylix's ghostty target writes the colour theme.
|
|
programs.ghostty = lib.mkIf isDesktop {
|
|
enable = true;
|
|
settings = {
|
|
font-family = "FiraMono Nerd Font";
|
|
font-size = 11;
|
|
font-thicken = true;
|
|
window-padding-x = 10;
|
|
window-padding-y = 10;
|
|
window-padding-balance = true;
|
|
background-opacity = 0.98;
|
|
confirm-close-surface = false;
|
|
gtk-titlebar = false;
|
|
cursor-style = "bar";
|
|
cursor-style-blink = true;
|
|
};
|
|
};
|
|
}
|