mirror of
https://github.com/nix-community/home-manager.git
synced 2026-10-03 12:09:19 +00:00
Turning off mutableUserSettings, mutableUserKeymaps, mutableUserTasks, or mutableUserDebug left the previously merged regular file in place. When it matched the declared config it was never replaced by a link, so it stayed writable and collided once the settings changed. Run mkImpureConfigCleanup for each of the four files whose toggle is off. The conditions that link those files now live in one binding that both the file entries and the cleanup use, so they cannot drift apart. The test checks zed's wiring: which files get a cleanup, where it runs, and that a file disabled through home.file or xdg.configFile gets none. The removal itself is covered by the helper's tests. Merging behavior is unchanged.
1.0 KiB
1.0 KiB