mirror of
https://github.com/SebastianStork/nixos-config.git
synced 2026-03-22 20:09:07 +01:00
comin: Add git-push-tokens for future use in a post-deployment-script
This commit is contained in:
parent
6a3d7af09e
commit
eb021286a5
4 changed files with 23 additions and 9 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue