about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--nix/lib/flake-helper.nix2
1 files changed, 1 insertions, 1 deletions
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 <nixpkgs/lib>), ... }: let
 				secretsPath = (../hosts + "/${name}/secrets");
 			in {
 				age.secrets = lib.mapAttrs'