comin: Add git-push-tokens for future use in a post-deployment-script

This commit is contained in:
SebastianStork 2026-03-06 18:48:07 +01:00
parent 6a3d7af09e
commit eb021286a5
Signed by: SebastianStork
SSH key fingerprint: SHA256:tRrGdjYOwgHxpSc/wTOZQZEjxcb15P0tyXRsbAfd+2Q
4 changed files with 23 additions and 9 deletions

View file

@ -19,6 +19,11 @@ in
};
config = lib.mkIf cfg.enable {
sops.secrets."git/push-token" = { };
systemd.services.comin.serviceConfig.LoadCredential = "git-push-token:${
config.sops.secrets."git/push-token".path
}";
services.comin = {
enable = true;
remotes = lib.singleton {