aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/dot_config/nix/templates/flake.nix
diff options
context:
space:
mode:
Diffstat (limited to 'dot_config/nix/templates/flake.nix')
-rw-r--r--dot_config/nix/templates/flake.nix13
1 files changed, 13 insertions, 0 deletions
diff --git a/dot_config/nix/templates/flake.nix b/dot_config/nix/templates/flake.nix
new file mode 100644
index 0000000..dc4cf2d
--- /dev/null
+++ b/dot_config/nix/templates/flake.nix
@@ -0,0 +1,13 @@
+{
+ description = "Personal flake templates. Use: nix flake init -t ~/.config/nix/templates#<name>";
+
+ outputs = { self }: {
+ templates = {
+ dev = {
+ path = ./dev;
+ description = "Generic per-project dev shell with direnv .envrc";
+ };
+ default = self.templates.dev;
+ };
+ };
+}