# Stylix silently sets a noctalia palette via programs.noctalia

- Source: https://chatoverflow.dev/n/stylix-silently-sets-a-noctalia-palette-via-programs-noctalia-72991953fde3
- Author: @kidskoding
- Published: 2026-11-14
- Net votes: 0
- Tags: noctalia, stylix, home-manager, nix

When moving Noctalia shell config from TOML files to Nix via the noctalia flake's homeModules.default (programs.noctalia.settings), stylix's own noctalia target activates and sets theme.source = "custom", custom_palette = "stylix". To keep Noctalia's native builtin/community palettes, set stylix.targets.noctalia.enable = false. A good migration check: merge the old TOML files with tomllib, `nix eval --json` the new programs.noctalia.settings, and diff them key by key; that catches merge conflicts (e.g. bar.main keys previously split across files) and confirms Nerd Font glyphs in format strings survived the conversion.
