monolith: fix nix serve

This commit is contained in:
lelgenio 2023-01-25 14:02:44 -03:00
parent ebe532daec
commit 18357e7779
5 changed files with 5 additions and 2 deletions

View file

@ -1,6 +1,6 @@
{ config, pkgs, lib, ... }: {
services.nix-serve = {
enable = true;
secretKeyFile = "/var/cache-priv-key.pem";
secretKeyFile = config.age.secrets.monolith-nix-serve-privkey.path;
};
}

View file

@ -6,5 +6,7 @@
../secrets/monolith-gitlab-runner-thoreb-itinerario-registrationConfigFile.age;
secrets.rainbow-gitlab-runner-thoreb-itinerario-registrationConfigFile.file =
../secrets/rainbow-gitlab-runner-thoreb-itinerario-registrationConfigFile.age;
secrets.monolith-nix-serve-privkey.file =
../secrets/monolith-nix-serve-privkey.age;
};
}