What are the recommended ways to create bundles of software for a nixos config so you only have to select a single option to install and configure multiple related packages?
What are the recommended ways to create bundles of software for a nixos config so you only have to select a single option to install and configure multiple related packages?
As the title says. Want that i can have a single config for my systems and just require a single line to install and configure software which i always use in a bundle(office, specific programming applications, server applications,...).
If it's only for your self I would write a nix module that does everything you need, then import the module in the system configuration. If you want to enable/disable it all you need is to add/remove one line in the imports section.