From a882de0b8eb112ec6229a3a32a81aab2280ed7de Mon Sep 17 00:00:00 2001 From: Kiara Grouwstra Date: Thu, 3 Jul 2025 15:56:16 +0200 Subject: [PATCH] address linter gripes in nix files (#430) Reviewed-on: https://git.fediversity.eu/Fediversity/Fediversity/pulls/430 Reviewed-by: Nicolas Jeannerod Co-authored-by: Kiara Grouwstra Co-committed-by: Kiara Grouwstra --- infra/common/resource.nix | 4 ++-- infra/makeInstallerIso.nix | 1 - 2 files changed, 2 insertions(+), 3 deletions(-) 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, ...