From deaad9e09562ad4a2e5e0683e7d40bc5f97c8b5a Mon Sep 17 00:00:00 2001 From: Daniel Flanagan Date: Tue, 19 Dec 2023 10:24:07 -0600 Subject: [PATCH] Playing with templates? --- flake.nix | 2 ++ templates/all.nix | 6 ++++++ 2 files changed, 8 insertions(+) create mode 100644 templates/all.nix diff --git a/flake.nix b/flake.nix index af39e54..910d228 100644 --- a/flake.nix +++ b/flake.nix @@ -170,6 +170,8 @@ diskoConfigurations = import ./disko; }; + templates = import ./templates/all.nix; + nixConfig = { extra-experimental-features = ["nix-command" "flakes"]; diff --git a/templates/all.nix b/templates/all.nix new file mode 100644 index 0000000..60fbb0e --- /dev/null +++ b/templates/all.nix @@ -0,0 +1,6 @@ +{ + rust = { + path = ./rust; + description = "A template for working on a Rust project"; + }; +}