provide a default value for lib's nix_templater parameter to facilitate importing without flakes

This commit is contained in:
Kiara Grouwstra 2025-06-21 11:13:13 +02:00
parent e46bc3ef80
commit a8dd207837
Signed by: kiara
SSH key fingerprint: SHA256:COspvLoLJ5WC5rFb9ZDe5urVCkK4LJZOsjfF4duRJFU

View file

@ -1,4 +1,7 @@
{ pkgs, nix_templater }: {
pkgs,
nix_templater ? pkgs.callPackage ./pkgs/nix_templater { },
}:
{ {
# placeholder to be substituted with the content of a secret file # placeholder to be substituted with the content of a secret file
fileContents = file: { fileContents = file: {