From 4671abedb76a04f83d31aceacd3a3a2764895ec6 Mon Sep 17 00:00:00 2001 From: Emile Date: Mon, 25 Mar 2024 15:37:25 +0100 Subject: use the lib from nixpkgs if no other one is defined --- nix/lib/flake-helper.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'nix/lib') diff --git a/nix/lib/flake-helper.nix b/nix/lib/flake-helper.nix index aa1048a..6bd1c11 100644 --- a/nix/lib/flake-helper.nix +++ b/nix/lib/flake-helper.nix @@ -67,7 +67,7 @@ rec { else "")) # secrets (have to be added to git (crypted) #lessonslearned) - ({ lib, ... }: let + ({ lib ? (import ), ... }: let secretsPath = (../hosts + "/${name}/secrets"); in { age.secrets = lib.mapAttrs' -- cgit 1.4.1