address linter gripes in nix files (#430)

Reviewed-on: Fediversity/Fediversity#430
Reviewed-by: Nicolas Jeannerod <nicolas.jeannerod@moduscreate.com>
Co-authored-by: Kiara Grouwstra <kiara@procolix.eu>
Co-committed-by: Kiara Grouwstra <kiara@procolix.eu>
This commit is contained in:
Kiara Grouwstra 2025-07-03 15:56:16 +02:00 committed by kiara Grouwstra
parent 05572ff69e
commit a882de0b8e
2 changed files with 2 additions and 3 deletions

View file

@ -48,9 +48,9 @@ in
## the secret's file. ## the secret's file.
age.secrets = concatMapAttrs ( age.secrets = concatMapAttrs (
name: secret: name: secret:
optionalAttrs (elem config.fediversityVm.hostPublicKey secret.publicKeys) ({ optionalAttrs (elem config.fediversityVm.hostPublicKey secret.publicKeys) {
${removeSuffix ".age" name}.file = secrets.rootPath + "/${name}"; ${removeSuffix ".age" name}.file = secrets.rootPath + "/${name}";
}) }
) secrets.mapping; ) secrets.mapping;
## FIXME: Remove direct root authentication once the NixOps4 NixOS provider ## FIXME: Remove direct root authentication once the NixOps4 NixOS provider

View file

@ -15,7 +15,6 @@ let
installer = installer =
{ {
config,
pkgs, pkgs,
lib, lib,
... ...