this post was submitted on 22 Dec 2025
4 points (100.0% liked)
Nix / NixOS
2555 readers
1 users here now
Main links
Videos
founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Good point! But I think
lib.mkMergeonly merges options in a module system like the ones used in NixOS, Home Manager, and flake-parts configs. In this situation I think the function to use would be lib.attrsets.recursiveUpdate