1
0

hosts/hydra-1: Migrate to modules harmonia signKeyPaths implementation

This commit is contained in:
clerie 2024-10-24 21:01:48 +02:00
parent 5d45d3aac1
commit f9ab9b4136
Signed by: clerie
GPG Key ID: BD9F56480870BAD2

View File

@ -5,19 +5,11 @@
services.harmonia = {
enable = true;
settings.bind = "[::1]:5005";
};
systemd.services.harmonia = {
environment = {
SIGN_KEY_PATHS = "%d/key1 %d/key2";
};
serviceConfig = {
LoadCredential = [
"key1:${config.sops.secrets."sign-key-nix-cache.clerie.de".path}"
"key2:${config.sops.secrets."sign-key-cache.nix.clerie.de".path}"
signKeyPaths = [
config.sops.secrets."sign-key-nix-cache.clerie.de".path
config.sops.secrets."sign-key-cache.nix.clerie.de".path
];
};
};
services.nginx.virtualHosts = {
"nix-cache.clerie.de" = {