nix-infra/config/hosts/ikiwiki/secrets.nix
2024-11-22 21:07:49 +01:00

12 lines
274 B
Nix

{ keyCommandEnv, ... }:
{
deployment.keys."ikiwiki-auth-file.secret" = {
keyCommand = keyCommandEnv ++ [ "pass" "ikiwiki/auth-file" ];
destDir = "/secrets";
user = "nginx";
group = "nginx";
permissions = "0640";
uploadAt = "pre-activation";
};
}