From f9ab9b413635243697de1046ab4c178d78f998a8 Mon Sep 17 00:00:00 2001 From: clerie Date: Thu, 24 Oct 2024 21:01:48 +0200 Subject: [PATCH 1/2] hosts/hydra-1: Migrate to modules harmonia signKeyPaths implementation --- hosts/hydra-1/nix-cache.nix | 16 ++++------------ 1 file changed, 4 insertions(+), 12 deletions(-) diff --git a/hosts/hydra-1/nix-cache.nix b/hosts/hydra-1/nix-cache.nix index 17a8b96..601b8f4 100644 --- a/hosts/hydra-1/nix-cache.nix +++ b/hosts/hydra-1/nix-cache.nix @@ -5,18 +5,10 @@ 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 = { From 74a67811d7a199709aacec063bc8cdd65c590ee8 Mon Sep 17 00:00:00 2001 From: Flake Update Bot Date: Fri, 25 Oct 2024 03:03:58 +0200 Subject: [PATCH 2/2] Update nixpkgs 2024-10-25-01-03 --- flake.lock | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/flake.lock b/flake.lock index 810f475..7cfc478 100644 --- a/flake.lock +++ b/flake.lock @@ -288,11 +288,11 @@ }, "nixpkgs_3": { "locked": { - "lastModified": 1725983898, - "narHash": "sha256-4b3A9zPpxAxLnkF9MawJNHDtOOl6ruL0r6Og1TEDGCE=", + "lastModified": 1729665710, + "narHash": "sha256-AlcmCXJZPIlO5dmFzV3V2XF6x/OpNWUV8Y/FMPGd8Z4=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "1355a0cbfeac61d785b7183c0caaec1f97361b43", + "rev": "2768c7d042a37de65bb1b5b3268fc987e534c49d", "type": "github" }, "original": {