forked from Fediversity/Fediversity
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:
parent
05572ff69e
commit
a882de0b8e
2 changed files with 2 additions and 3 deletions
|
@ -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
|
||||||
|
|
|
@ -15,7 +15,6 @@ let
|
||||||
|
|
||||||
installer =
|
installer =
|
||||||
{
|
{
|
||||||
config,
|
|
||||||
pkgs,
|
pkgs,
|
||||||
lib,
|
lib,
|
||||||
...
|
...
|
||||||
|
|
Loading…
Add table
Reference in a new issue