Reorganize imports to prevent infinite recursions

This commit is contained in:
Fabian Hauser 2025-03-25 12:49:03 +02:00
parent ee6b756d3c
commit ff0ce9d94c
18 changed files with 136 additions and 89 deletions

View file

@ -3,7 +3,7 @@
gnupg,
lib,
runCommand,
self,
private,
ssh-to-age,
writeText,
...
@ -13,7 +13,7 @@ let
metaHostConfigs = import ../../defaults/meta/hosts.nix { };
userPgpKeys =
let
keysFolder = "${self.inputs.private}/sops_keys";
keysFolder = "${private}/sops_keys";
gpgFingerprintsFile =
runCommand "userPgpKeys"
{