This repository has been archived on 2024-04-07. You can view files and clone it, but cannot push or open issues or pull requests.
nixos-config/system/cachix.nix

13 lines
381 B
Nix
Raw Permalink Normal View History

2023-02-08 16:42:45 +01:00
{ pkgs, lib, config, ... }: {
2022-11-30 03:59:52 +01:00
services.cachix-watch-store = {
enable = true;
cacheName = "lelgenio";
2022-12-23 15:22:58 +01:00
cachixTokenFile = config.age.secrets.lelgenio-cachix.path;
2022-11-30 03:59:52 +01:00
};
2023-02-08 16:42:45 +01: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-30 03:59:52 +01:00
}