-
Notifications
You must be signed in to change notification settings - Fork 21
Description
Hi there,
When using all the existing dot-file managers, I’m curious if Nix could offer a unique feature that would make it significantly superior to traditional dot-management: defining partial configurations. Currently, the only option is to either set all configurations for a program in the Nix code or leave them completely unmanaged. There‘s no middle ground.
Let me elaborate on this:
I often find myself wanting to define only a subset of the possible configuration settings for a program within my NixOS infrastructure code. I want to leave other settings untouched or allow users to modify them. It would be incredibly helpful if I could define settings for a JSON, YAML, or INI configuration file, and NixOS would automatically insert or replace these settings in the existing dot files.
I’m wondering if such a feature is even feasible and if this is something that could be done with hjem?