1
0

hosts/hydra: use secrets for nix-cache

This commit is contained in:
2023-05-02 20:14:02 +02:00
parent 9d6a7b1c88
commit 9982a4d710
3 changed files with 11 additions and 1 deletions

View File

@@ -84,7 +84,7 @@
enable = true;
port = 5005;
bindAddress = "127.0.0.1";
secretKeyFile = "/var/src/secrets/nix-serve/secret-key.key";
secretKeyFile = config.age.secrets.nix-cache-key.path;
# Workaround https://github.com/NixOS/nix/issues/7704#issuecomment-1409480909
package = pkgs.nix-serve-ng.override {
nix = pkgs.nixVersions.nix_2_12;