cardano-node: ensure service starts after nixops keys are loaded

This commit is contained in:
Serĉanto de Scio 2022-08-16 14:35:24 +10:00
parent d34c19fd09
commit 99392561a6
Signed by: sercanto
GPG key ID: 7DBA9F5689EFB6AA

View file

@ -39,6 +39,24 @@ in {
};
};
systemd = {
services = {
cardano-node = {
# Ensure cardano-node starts after nixops keys are loaded
after = [
"cardano-kes-key.service"
"cardano-opcert-key.service"
"cardano-vrf-key.service"
];
wants = [
"cardano-kes-key.service"
"cardano-opcert-key.service"
"cardano-vrf-key.service"
];
};
};
};
networking = {
firewall = {
allowedTCPPorts = [