nixos-config/templates
2024-10-21 15:25:06 +08:00
..
basic-devshell update various files 2022-04-30 20:31:11 +08:00
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: update 2024-10-21 15:25:06 +08:00
sample-nixos-template templates/sample-nixos-template: update desktop template 2023-11-11 17:52:36 +08:00
README.adoc docs: update and add README for shells and templates 2022-09-26 08:35:10 +08:00

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.