From 128977bc24cbaa551e55bdaaf43e2dc3ecdd846c Mon Sep 17 00:00:00 2001 From: Kiara Grouwstra Date: Thu, 3 Jul 2025 15:15:05 +0200 Subject: [PATCH] address linter gripes in nix files --- 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, ...