mirror of
https://gitlab.com/TECHNOFAB/soonix.git
synced 2025-12-11 22:00:05 +01:00
chore: default to nix generator and prepend / to gitignore entries
This commit is contained in:
parent
25cc087b1d
commit
af1494f3c6
1 changed files with 2 additions and 1 deletions
|
|
@ -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
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue