tyo0/sing-box: use sops path directly
This commit is contained in:
parent
b2cd2920d8
commit
36288c8958
1 changed files with 1 additions and 2 deletions
|
@ -18,7 +18,7 @@
|
||||||
listen = "0.0.0.0";
|
listen = "0.0.0.0";
|
||||||
listen_port = 27253;
|
listen_port = 27253;
|
||||||
users = {
|
users = {
|
||||||
_secret = "/run/credentials/sing-box.service/auth";
|
_secret = config.sops.secrets."sing-box/auth".path;
|
||||||
quote = false;
|
quote = false;
|
||||||
};
|
};
|
||||||
tls = {
|
tls = {
|
||||||
|
@ -47,7 +47,6 @@
|
||||||
path = "/var/lib/caddy/.local/share/caddy/certificates/acme-v02.api.letsencrypt.org-directory/tyo0.ny4.dev";
|
path = "/var/lib/caddy/.local/share/caddy/certificates/acme-v02.api.letsencrypt.org-directory/tyo0.ny4.dev";
|
||||||
in
|
in
|
||||||
[
|
[
|
||||||
"auth:${config.sops.secrets."sing-box/auth".path}"
|
|
||||||
"cert:${path}/tyo0.ny4.dev.crt"
|
"cert:${path}/tyo0.ny4.dev.crt"
|
||||||
"key:${path}/tyo0.ny4.dev.key"
|
"key:${path}/tyo0.ny4.dev.key"
|
||||||
];
|
];
|
||||||
|
|
Loading…
Reference in a new issue