From af1494f3c6d0110fffe88a76a6288012deb71aa9 Mon Sep 17 00:00:00 2001 From: technofab Date: Tue, 26 Aug 2025 16:37:45 +0200 Subject: [PATCH] chore: default to nix generator and prepend / to gitignore entries --- lib/module.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/module.nix b/lib/module.nix index 63f89a7..16efd0a 100644 --- a/lib/module.nix +++ b/lib/module.nix @@ -30,6 +30,7 @@ in { generator = mkOption { type = types.enum ["nix" "string" "derivation" "gotmpl" "jinja" "template"]; description = "Which engine to use for content generation"; + default = "nix"; }; data = mkOption { @@ -211,7 +212,7 @@ in { fi # Insert the file path before the end comment - ${pkgs.gnused}/bin/sed -i "/# end soonix/i $file" "$gitignore" + ${pkgs.gnused}/bin/sed -i "/# end soonix/i /$file" "$gitignore" fi }