modules/hercules-ci-agent: do not restart via NixOS configuration switch

This commit is contained in:
Max Headroom 2022-05-27 15:48:33 +02:00
parent d0ccf70b3c
commit 7e7b38d9bc

View file

@ -26,7 +26,11 @@
binaryCachesPath = config.age.secrets.hci-cache-config.path;
};
};
systemd.services.hercules-ci-agent.environment = {
AWS_SHARED_CREDENTIALS_FILE = config.age.secrets.hci-cache-credentials.path;
systemd.services.hercules-ci-agent = {
# hercules-ci-agent-restarter should take care of this
restartIfChanged = false;
environment = {
AWS_SHARED_CREDENTIALS_FILE = config.age.secrets.hci-cache-credentials.path;
};
};
}