Secrets: add agenix config

This commit is contained in:
Leonardo Eugênio 2022-12-23 11:22:58 -03:00
parent 0257ccc3b7
commit b6872b1694
10 changed files with 77 additions and 15 deletions

View file

@ -1,8 +1,8 @@
{ pkgs, ... }: {
{ pkgs, config, ... }: {
services.cachix-watch-store = {
enable = true;
cacheName = "lelgenio";
cachixTokenFile = "/etc/cachix-token";
cachixTokenFile = config.age.secrets.lelgenio-cachix.path;
};
systemd.services.cachix-watch-store-agent.serviceConfig.TimeoutStopSec = 3;
}