add secret for github runner

This commit is contained in:
Charlotte 🦝 Delenk 2022-06-05 11:50:43 +01:00
parent acbc63364d
commit b806cc42d5
Signed by: darkkirb
GPG key ID: AB2BD8DAF2E37122
2 changed files with 7 additions and 4 deletions

View file

@ -1,7 +1,8 @@
{ ... }: {
{ config, ... }: {
services.github-runner = {
enable = true;
url = "https://github.com/DarkKirb";
tokenFile = "/run/secrets/github-runner/nixos.token";
tokenFile = config.sops.secrets."services/github-runner/nixos.token".path;
};
sops.secrets."services/github-runner/nixos.token" = { };
}

View file

@ -2,6 +2,8 @@ network:
wireguard:
privkey: ENC[AES256_GCM,data:JDCu/XUbXJz13OqC35DQS+g0XDUGUXIBMDK2i0gCnnRqe7pTkIauTLHeh64=,iv:Ybex9u6i4QN6MXECTBJy8YBgK5Ge/LRxZLE5lXBhBPM=,tag:v+ESpwLqMcDxv9ThgqxXiw==,type:str]
services:
github-runner:
nixos.token: ENC[AES256_GCM,data:qqtjAKCDxX0+Hvl5n9nglwYW4JdHlkEcu0cot4Y=,iv:m8Dd2QYYmwaVoGu8BB/JA3Ii0Y3fP3GhZaR8tpZmXcw=,tag:w8J8kw3KxwbxxCsKgBc3+Q==,type:str]
synapse:
private_key: ENC[AES256_GCM,data:yU7yftN4QRbNgoR3MKeZeZMAlZP/WLIuO11SDmovyot1siq8sfS6enWlHdpxOurB0PWqsLSbkDoPO9g=,iv:GvIBst7+m8gWLhFpou2NJ5Sx7zNNURcumGbjYiCBTK0=,tag:whbtqezK7MHr3+veCHAzcw==,type:str]
discord-dev-registration.yaml: ENC[AES256_GCM,data:gWZmExd/SiHRWY7fnwsmGzubVpPVxdSbjzwJBHPOO1G9icB+htjIlSdnRAdDCUEMz66As2mNAW6yMb9l8JCvyN6+54hxKMAHFBb0M2fcCnH3/ZYOEb8uW6HJ1lASRhM05BwTRkSXwESe4IJHexzVMAg8+cL+zfXNJCGi2ii1Y3gzKNfaUHo+plevkeVTINzh0bqFeaOsAl9SOTAoCgLEJ/VxUpsyIzvXly2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3QwWz3y8CoTSIA==,type:str]
lastmodified: "2022-06-05T10:50:34Z"
mac: ENC[AES256_GCM,data:vT0mNRHyDBEa9TOAC73vzFSpYAonLZ/sxIAl2hlN1+fPDM2WKfBjJKFWvPDYtzdgiKXTBcuZAp6ehol37L9tFXhbPg8mpo9yXh+3MKpZTr2RxxG6+vJTid2wvHKY3eoas6SEiRDE7+AAX9W6UPISjyzw9Tq0D7XRDJJ3yFjAAfg=,iv:wGmNBgK01sImRpYwuykVMvVhy8h6qokKuAfGWVyBLSI=,tag:ihGELMrbHmtKbLSYYRSKIg==,type:str]
pgp:
- created_at: "2022-04-24T10:34:20Z"
enc: |