nix-infra/config/hosts/ikiwiki/secrets.nix

12 lines
274 B
Nix
Raw Normal View History

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