mirror of
https://github.com/foo-dogsquared/nixos-config.git
synced 2025-01-31 04:58:01 +00:00
15 lines
491 B
Plaintext
15 lines
491 B
Plaintext
|
= Templates
|
||
|
:toc:
|
||
|
|
||
|
These are my templates similarly structured to link:https://github.com/NixOS/templates[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.
|
||
|
|
||
|
[source, shell]
|
||
|
----
|
||
|
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.
|