QuizzaciousOtter@lemm.eetoNix / NixOS@programming.dev•Good Practice or Not - Adding Unique Identifier to Custom Options?English
1·
4 months agoI’m currently learning NixOS myself and was wondering about the same thing. I’m definitely leaning towards namespacing but I would like to hear an expert’s opinion.
Also, just a question. Are you planning to expose all your configuration modules via custom options? When I’m looking at other people’s configs I feel like the most popular approach is to enable modules just by importing them. I really like the idea of having custom options for everything but it’s additional work and complexity and I can’t decide if it’s worth the effort.
Right, in the simplest case it’s a single option declaration and a single
lib.mkIf
. I was probably overthinking the complexity. I will probably go with this approach.Thanks for the answer and happy nixing!