Nixos configuration template

Hello,

in order to help people using flakes for their NixOS configuration, I wondered if there is a reason about the absence of a NixOS template in GitHub - NixOS/templates: Flake templates ? I couldn’t find any PR or discussion about it on the repo. Do you see any blocker for one?

I’ll try to make one if there isn’t any showstopper :slight_smile:

guess people who want a template just go with https://github.com/divnix/digga/tree/main/examples/devos

but i find that complex. i find the overall best nix user config to be ~misterio/nix-config - My pretty nice NixOS/home-manager configuration - sourcehut git, which is relatively simple and pretty organized and follows some nixpkgs conventions, and i base my own config on it as well (i personally removed that rec from the flake.nix and put stuff on the let bind instead)

so i’d take that as reference for a template.

3 Likes

I went down this path recently and I also landed on @Misterio 's config as the one I like the best.

2 Likes

Thanks for the shoutout, folks :smiley:

2 Likes

This looks very useful. Thanks! And thank you @Misterio for providing it.

1 Like