forked from Fediversity/Fediversity
s/x_fediversity/fediversity/
This commit is contained in:
parent
ccee13c581
commit
21e8c962bf
|
@ -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; }
|
||||
];
|
||||
};
|
||||
};
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue