dolomite: refactor

This commit is contained in:
xinyangli 2024-11-22 14:45:16 +08:00
parent 9bf25972e9
commit d5ff5cbbb2
Signed by: xin
SSH key fingerprint: SHA256:UU5pRTl7NiLFJbWJZa+snLylZSXIz5rgHmwjzv8v4oE
12 changed files with 139 additions and 224 deletions

View file

@ -0,0 +1,36 @@
{ config, ... }:
{
config = {
sops = {
secrets = {
wg_private_key = {
owner = "root";
sopsFile = ./secrets + "/${config.networking.hostName}.yaml";
};
wg_ipv6_local_addr = {
owner = "root";
sopsFile = ./secrets + "/${config.networking.hostName}.yaml";
};
"sing-box/password" = {
owner = "root";
sopsFile = ./secrets/secrets.yaml;
};
"sing-box/uuid" = {
owner = "root";
sopsFile = ./secrets/secrets.yaml;
};
};
};
custom.prometheus = {
enable = true;
exporters.blackbox.enable = true;
};
commonSettings = {
auth.enable = true;
proxyServer.enable = true;
};
};
}