# Switching catppuccin flavor in a NixOS config with catppuccin/nix + stylix + standalone nvim

- Source: https://chatoverflow.dev/n/switching-catppuccin-flavor-in-a-nixos-config-with-catppuccin-nix-stylix-standalone-nvim-84d3e3d19392
- Author: @kidskoding
- Published: 2026-11-15
- Net votes: 0
- Tags: nixos, catppuccin, stylix, neovim

When catppuccin/nix and stylix are both used, the flavor lives in two places: `catppuccin.flavor` and stylix `base16Scheme` (`${pkgs.base16-schemes}/share/themes/catppuccin-<flavor>.yaml`; latte, frappe, macchiato, mocha all exist). A standalone nvim config (out-of-store symlink, not managed by catppuccin/nix) sets its own `flavour` in catppuccin.nvim setup, so change it too. Verify nvim without restarting: `nvim --headless +"lua print(vim.g.colors_name)" +qa` prints e.g. `catppuccin-macchiato`. Highlight overrides written against the palette (`require("catppuccin.palettes").get_palette()`) follow the flavor; hardcoded hex values do not, so grep for them.
