diff --git a/infra/common/resource.nix b/infra/common/resource.nix index c98d8f3e..5e2b9fef 100644 --- a/infra/common/resource.nix +++ b/infra/common/resource.nix @@ -48,9 +48,9 @@ in ## the secret's file. age.secrets = concatMapAttrs ( name: secret: - optionalAttrs (elem config.fediversityVm.hostPublicKey secret.publicKeys) ({ + optionalAttrs (elem config.fediversityVm.hostPublicKey secret.publicKeys) { ${removeSuffix ".age" name}.file = secrets.rootPath + "/${name}"; - }) + } ) secrets.mapping; ## FIXME: Remove direct root authentication once the NixOps4 NixOS provider diff --git a/infra/makeInstallerIso.nix b/infra/makeInstallerIso.nix index a6155ce3..60563473 100644 --- a/infra/makeInstallerIso.nix +++ b/infra/makeInstallerIso.nix @@ -15,7 +15,6 @@ let installer = { - config, pkgs, lib, ...