chore: default to nix generator and prepend / to gitignore entries

This commit is contained in:
technofab 2025-08-26 16:37:45 +02:00
parent 25cc087b1d
commit af1494f3c6
No known key found for this signature in database

View file

@ -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
}