hosts/hydra-1: Migrate to modules harmonia signKeyPaths implementation
This commit is contained in:
parent
5d45d3aac1
commit
f9ab9b4136
@ -5,19 +5,11 @@
|
|||||||
services.harmonia = {
|
services.harmonia = {
|
||||||
enable = true;
|
enable = true;
|
||||||
settings.bind = "[::1]:5005";
|
settings.bind = "[::1]:5005";
|
||||||
};
|
signKeyPaths = [
|
||||||
|
config.sops.secrets."sign-key-nix-cache.clerie.de".path
|
||||||
systemd.services.harmonia = {
|
config.sops.secrets."sign-key-cache.nix.clerie.de".path
|
||||||
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}"
|
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
};
|
|
||||||
|
|
||||||
services.nginx.virtualHosts = {
|
services.nginx.virtualHosts = {
|
||||||
"nix-cache.clerie.de" = {
|
"nix-cache.clerie.de" = {
|
||||||
|
Loading…
Reference in New Issue
Block a user