From 21e8c962bf4c5361cff474d6bca46aa58f6891c9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicolas=20=E2=80=9CNiols=E2=80=9D=20Jeannerod?= Date: Fri, 13 Dec 2024 12:37:25 +0100 Subject: [PATCH] s/x_fediversity/fediversity/ --- infra/flake-part.nix | 8 ++++---- secrets/flake-part.nix | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/infra/flake-part.nix b/infra/flake-part.nix index 4f06895..bed71fc 100644 --- a/infra/flake-part.nix +++ b/infra/flake-part.nix @@ -20,7 +20,7 @@ imports = [ ./vm02116 self.nixosModules.ageSecrets - { x_fediversity.hostPublicKey = self.keys.systems.vm02116; } + { fediversity.hostPublicKey = self.keys.systems.vm02116; } ]; }; }; @@ -38,7 +38,7 @@ imports = [ ./vm02179 self.nixosModules.ageSecrets - { x_fediversity.hostPublicKey = self.keys.systems.vm02179; } + { fediversity.hostPublicKey = self.keys.systems.vm02179; } ]; }; }; @@ -56,7 +56,7 @@ imports = [ ./vm02186 self.nixosModules.ageSecrets - { x_fediversity.hostPublicKey = self.keys.systems.vm02186; } + { fediversity.hostPublicKey = self.keys.systems.vm02186; } ]; }; }; @@ -82,7 +82,7 @@ imports = [ ./vm02187 self.nixosModules.ageSecrets - { x_fediversity.hostPublicKey = self.keys.systems.vm02187; } + { fediversity.hostPublicKey = self.keys.systems.vm02187; } ]; }; }; diff --git a/secrets/flake-part.nix b/secrets/flake-part.nix index aa7a2eb..b2e1874 100644 --- a/secrets/flake-part.nix +++ b/secrets/flake-part.nix @@ -20,7 +20,7 @@ in { imports = [ inputs.agenix.nixosModules.default ]; - options.x_fediversity.hostPublicKey = lib.mkOption { + options.fediversity.hostPublicKey = lib.mkOption { description = '' The host public key of the machine. It is used in particular to filter Age secrets and only keep the relevant ones. @@ -29,7 +29,7 @@ in config.age.secrets = concatMapAttrs ( name: secret: - optionalAttrs (elem config.x_fediversity.hostPublicKey secret.publicKeys) ({ + optionalAttrs (elem config.fediversity.hostPublicKey secret.publicKeys) ({ ${removeSuffix ".age" name}.file = ./. + "/${name}"; }) ) secrets;