theming: disable the NixOS half of stylix's fish target too

stylix ships fish as both a NixOS and a home-manager target. Only the HM
one was off, so /etc/fish/config.fish still sourced base16-fish and kept
printf'ing OSC 4/10/11 with build-time colours at every shell start.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
rope 2026-08-19 15:49:47 +01:00
parent 40f795db7b
commit deba68f9bd

View file

@ -485,6 +485,14 @@ in
apply = themeApply;
};
# stylix ships fish as BOTH a NixOS and a home-manager target, and this is
# the NixOS half — programs.fish.interactiveShellInit in /etc/fish. Turning
# off only the home-manager one left this still sourcing base16-fish, which
# printf's OSC 4 / OSC 10 / OSC 11 at every shell start and repaints the
# build-time palette over whatever ghostty just reloaded. Both halves have
# to go or the terminal never changes colour.
stylix.targets.fish.enable = false;
home-manager.users.fred = { config, lib, pkgs, osConfig, ... }: {
# These four targets write build-time files that theme-apply replaces
# at runtime; leaving them on means stylix and the switcher fight over