hosts/hydra-1: Migrate to modules harmonia signKeyPaths implementation
This commit is contained in:
parent
5d45d3aac1
commit
f9ab9b4136
@ -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" = {
|
||||
|
Loading…
Reference in New Issue
Block a user