s/x_fediversity/fediversity/

This commit is contained in:
Nicolas Jeannerod 2024-12-13 12:37:25 +01:00
parent ccee13c581
commit 21e8c962bf
Signed by untrusted user: Niols
GPG key ID: 35DB9EC8886E1CB8
2 changed files with 6 additions and 6 deletions

View file

@ -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; }
];
};
};

View file

@ -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;