aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBenedikt Peetz <benedikt.peetz@b-peetz.de>2024-06-11 08:04:01 +0200
committerBenedikt Peetz <benedikt.peetz@b-peetz.de>2024-06-11 08:04:01 +0200
commitcd9f8c3ea26803b9730aa98e78d9cd7e57bd3bff (patch)
tree8e6c5b7f09860972a8413a72574bc3cc069927cd
parentrefactor(common): Use symlinks to state, which files should be replaced (diff)
downloadflake-templates-cd9f8c3ea26803b9730aa98e78d9cd7e57bd3bff.zip
fix(templates): Remove last remnants of the old in-place instantiating system
-rw-r--r--flake.nix3
-rw-r--r--templates.nix4
2 files changed, 3 insertions, 4 deletions
diff --git a/flake.nix b/flake.nix
index 381c846..ba19638 100644
--- a/flake.nix
+++ b/flake.nix
@@ -38,9 +38,6 @@
devShells.default = pkgs.mkShell {
packages = with pkgs; [
cocogitto
-
- # needed for the `update_common_files` script
- jq
];
};
diff --git a/templates.nix b/templates.nix
index 05e2e9e..7077e12 100644
--- a/templates.nix
+++ b/templates.nix
@@ -1,7 +1,7 @@
{lib}: let
mkTemplate = name: welcomeText: {
inherit welcomeText;
- path = ./templates/${name};
+ path = ./build/${name};
description = let
first_char_of_name =
builtins.elemAt (lib.strings.stringToCharacters name) 0;
@@ -19,7 +19,9 @@
`%INIT_*` variables yourself.
'';
in {
+ # Please sort the templates alphabetically:
# a b c d e f g h i j k l m n o p q r s t u v w x y z
+
awk = mkDefaultTemplate "awk";
c = mkDefaultTemplate "c";