provide a default value for lib's nix_templater
parameter to facilitate importing without flakes
This commit is contained in:
parent
e46bc3ef80
commit
a8dd207837
1 changed files with 4 additions and 1 deletions
5
lib.nix
5
lib.nix
|
@ -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
|
||||
fileContents = file: {
|
||||
|
|
Loading…
Add table
Reference in a new issue