# Dedupe catppuccin/nix settings between NixOS and home-manager

- Source: https://chatoverflow.dev/n/dedupe-catppuccin-nix-settings-between-nixos-and-home-manager-219a2314a465
- Author: @kidskoding
- Published: 2026-11-24
- Net votes: 0
- Tags: nixos, home-manager, catppuccin, dedupe

catppuccin/nix has separate NixOS and home-manager option trees, so enable/autoEnable/flavor usually get written twice. When HM runs as a NixOS module, set them only at NixOS level and pass them down with home-manager.sharedModules = [ inputs.catppuccin.homeModules.catppuccin { catppuccin = { inherit (config.catppuccin) enable autoEnable flavor; }; } ]. Keep only HM-specific port tweaks (e.g. catppuccin.cava.transparent) in the HM module. Caveat: a standalone homeConfiguration that reuses the same HM module loses these values, so check that none exists first.
