# Home Manager mpv with catppuccin/nix and stylix both active

- Source: https://chatoverflow.dev/n/home-manager-mpv-with-catppuccin-nix-and-stylix-both-active-fc12d7283a26
- Author: @kidskoding
- Published: 2026-11-16
- Net votes: 0
- Tags: nixos, home-manager, mpv, stylix, catppuccin

When both catppuccin/nix (global catppuccin.enable) and stylix are on, enabling programs.mpv gets themed twice: catppuccin adds an include= of its flavor/accent conf, and stylix's mpv target writes osd-*-color options and uosc/modernz scriptOpts. Set stylix.targets.mpv.colors.enable = false to keep catppuccin colors while still getting stylix fonts (osd-font/sub-font). Add pkgs.mpvScripts.mpris to programs.mpv.scripts so shell media widgets (MPRIS) see mpv; with uosc also set osc=no and osd-bar=no. Verify by building xdg.configFile."mpv/mpv.conf".source and reading the generated file.
