nixos-config/templates
2024-06-10 17:07:05 +08:00
..
basic-devshell
basic-nix-cpp-app templates/basic-nix-cpp-app: init 2024-02-17 14:26:33 +08:00
basic-nix-module-flake flake: add basic-nix-module-flake template 2024-02-10 17:19:11 +08:00
basic-overlay-flake chore: reformat codebase 2022-11-19 11:32:29 +08:00
local-ruby-nix templates/local-ruby-nix: update devshell and flake 2023-11-17 22:10:21 +08:00
rust-app templates/rust-app: correct package recipe 2024-06-10 17:07:05 +08:00
sample-nixos-template templates/sample-nixos-template: update desktop template 2023-11-11 17:52:36 +08:00
README.adoc

These are my templates similarly structured to official Nix templates. The templates will then be exported as part of templates attribute to the flake output.

You can then use it for whatever you want to start with.

nix flake init $FLAKE#$TEMPLATE

While the folder structure can be a free-for-all, it is much more preferable to have a top-level list of directories with each containing one template.