secrets: add clash/proxy-providers/kogeki

This commit is contained in:
Guanran Wang 2024-01-31 08:30:24 +08:00
parent cf311539f4
commit f83093a966
Signed by: nyancat
SSH key fingerprint: SHA256:8oWGKciPALWut/6WA27oFKofX+6Wtc0gQnsefXLQx/8
3 changed files with 8 additions and 2 deletions

View file

@ -10,6 +10,7 @@ fetch: &fetch
use: &use
type: select
use:
- kogeki
- efcloud
- spcloud

View file

@ -26,6 +26,7 @@
sops.secrets = builtins.mapAttrs (_name: value: value // {restartUnits = ["clash.service"];}) {
"clash/secret" = {};
"clash/proxies/lon0" = {};
"clash/proxy-providers/kogeki" = {};
"clash/proxy-providers/efcloud" = {};
"clash/proxy-providers/spcloud" = {};
};
@ -41,6 +42,9 @@
${config.sops.placeholder."clash/proxies/lon0"}
proxy-providers:
kogeki:
<<: *fetch
url: "${config.sops.placeholder."clash/proxy-providers/kogeki"}"
efcloud:
<<: *fetch
url: "${config.sops.placeholder."clash/proxy-providers/efcloud"}"

View file

@ -8,6 +8,7 @@ clash:
proxies:
lon0: ENC[AES256_GCM,data:UlcOeEj3v/pbMhISRwyxOe/d5GjHk1vFZn0n1wgl8UXJLY7XHJ4/rcPNzbUe612HqpdlLLzaoMkNJAGQe6gam4AAaWxvq1tlp440tNEVROvjAtLWGypR1QkTNlmuKU1COrJmwIWoPNWmH44RFR2EsiGzrAQt6v2grkT/MSJCPBo/E+OUFJMR4H3ojGMYn9d9NEGxVfJSNb1mtCbCmy5Alvu5bhdFeETUgTwWdyxOUtEEy5Y9+QLwVJo9XiziPAefjo5k56TXaIccgSpZ8Iu/YiwjFntAvgomBGbm2rMQF5UHnIbr7YlzgrsQ9AzMtKx5SgZkhyPSL7aHANqv,iv:cW8FuXEeLtaORU4K6mZ1GgdqpzZ0txn6mqlsO4gRk3o=,tag:1Z0j35v4X4i73vLPMSI4wQ==,type:str]
proxy-providers:
kogeki: ENC[AES256_GCM,data:159GepC8UUm4FA7vRZO9RJ5DCPigt8RUsm78ibVjU8SHKTtMS6bHPA40S8l6V07VJmytRaXqWCIkiI7dXR64UvoRe+gMD2a0y8UgM4Pncf0IWpxhag==,iv:KBf4IPfof4bgs87udH+aXQ95K3F1Zuw5Ueh+b4AkQFg=,tag:F8TPR5kxIlmA+LG7kvz3HQ==,type:str]
efcloud: ENC[AES256_GCM,data:fFI81oLQOqr6dOexIqlP77RUOpsmrFyoeCF5HezX2P60iftnV+LXkdxbLLk1+Tn1VcRBPAtRPA7O7gQFY2fWNX2chc1a+xsBvCD0b2Knkw==,iv:rk4tcUwPuorzMWX7x7kQVsd/ihhRnT4REl9Dn/KbZVA=,tag:4CU8My2eZ0fxkPY07YhK2g==,type:str]
spcloud: ENC[AES256_GCM,data:Uz0SLmSxzV/hcsBuYtlsZ5G5E8wjzmHcFMGCyBrEewOr6gAdBQvC4njotYbMIdQAQRTgAE2wBukdSxXWCTrNph7uoVhskz1YkNjxnQVPUO5WfQ==,iv:TwHPdeATx+LanfhHeD7M5sSf3M2NLBWBAAaFTwgsK7A=,tag:9DMgcSoy4ksYl/dPWwA+dA==,type:str]
sops:
@ -34,8 +35,8 @@ sops:
bEdVQ0dicTVaRkJUNFB0d3Y1S1hmL3MKFVPyIyjRkQcdimUE/tWxQzQU1cqkB5lN
o+7a8JuA5gOxG7OInWbfkDe9/wSFCJW2S5z9jON/tLy6atPdmPYUdg==
-----END AGE ENCRYPTED FILE-----
lastmodified: "2024-01-25T21:42:48Z"
mac: ENC[AES256_GCM,data:umwzlCQerlHInmdFvrAeAs/QQQ52eRey18C6ZjjaSRKHLXIKdeFsMqIc0fz9VV+tvlojcBI7X6lIEN0GpiQTCNDes+wJAmetriztxDQ3HsPrs/WWmFc8ObuQ7e5SBLkSCUbtn5O5MduGD/xLpez915HDCQcZcqZHq3wicnAk5d0=,iv:oijMQuYK9KVXK6VTVYKQaPiLV+ohXa7drwrQDp0N5WY=,tag:X4i6m/c/HZWVoNzQYQEYiQ==,type:str]
lastmodified: "2024-01-31T00:29:31Z"
mac: ENC[AES256_GCM,data:lftz80JWpvHOCCZ/zBAlWzswT7zrRaFt03tL3ZjlVlV6DhM+7vwj/V3mvHaPzvyd8SzYe9EHN3OwfF7kgRHBv8K4C2QQPcqAp7wMxEWqQR3UdUNBvWOdMAQ5RCKo66nhoYVrREaql8QsOeIn9HjOEhH91cR1oSv14feha5fFxVM=,iv:Gnu369PzWl9GFJsPKGaU0qPCnqa89gXceFx1RTf+bsU=,tag:aAVnA1stqn1TAKiRaIG5ng==,type:str]
pgp: []
unencrypted_suffix: _unencrypted
version: 3.8.1