enable cachix deploy agent on all hosts
This commit is contained in:
parent
cebf6d9cd5
commit
5c7481a3aa
7 changed files with 64 additions and 3 deletions
modules/nixos/common
9
modules/nixos/common/deploy.nix
Normal file
9
modules/nixos/common/deploy.nix
Normal file
|
@ -0,0 +1,9 @@
|
|||
{ config, ... }:
|
||||
{
|
||||
sops.secrets.cachix-agent-token.sopsFile = ./secrets.yaml;
|
||||
|
||||
services.cachix-agent = {
|
||||
enable = true;
|
||||
credentialsFile = config.sops.secrets.cachix-agent-token.path;
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue