36 lines
772 B
Nix
36 lines
772 B
Nix
{ 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;
|
|
};
|
|
};
|
|
|
|
}
|