Nixos modules development

i recently switched to nixos and i am loving the declarative configuration. i use the neovim module and many plugins and it occurred to me that the for the lspconfig plugin and most lsp installs i could write a module to make this configurable declaratively. so i am interested to know what is required for upstreaming modules. beyond that i would be interested in the techniques used for module development and related.

1 Like

The NixOS manual has a good section on module development: NixOS 22.05 manual

The nixpkgs manual has a good section on contributing upstream (aimed at packages, but a lot of it applies both to modules as well as packages, and for anything else upstream templates help): Nixpkgs 22.05 manual