2024-05-30 16:54:58 -03:00
|
|
|
{
|
|
|
|
pkgs,
|
|
|
|
lib,
|
|
|
|
config,
|
|
|
|
...
|
|
|
|
}:
|
|
|
|
{
|
2022-11-29 23:59:52 -03:00
|
|
|
services.cachix-watch-store = {
|
|
|
|
enable = true;
|
|
|
|
cacheName = "lelgenio";
|
2022-12-23 11:22:58 -03:00
|
|
|
cachixTokenFile = config.age.secrets.lelgenio-cachix.path;
|
2022-11-29 23:59:52 -03:00
|
|
|
};
|
2023-02-08 12:42:45 -03:00
|
|
|
systemd.services.cachix-watch-store-agent = {
|
|
|
|
serviceConfig.TimeoutStopSec = 3;
|
|
|
|
# If we don't do this, cachix tends to timeout
|
|
|
|
serviceConfig.KillMode = lib.mkForce "control-group";
|
|
|
|
};
|
2022-11-29 23:59:52 -03:00
|
|
|
}
|