feat: migrate services to aqua

This commit is contained in:
Ryan Yin
2024-07-31 11:11:14 +08:00
parent 80e0bcf031
commit b671c05db9
38 changed files with 11 additions and 8 deletions
@@ -83,7 +83,7 @@
metrics_path = "/metrics"; metrics_path = "/metrics";
static_configs = [ static_configs = [
{ {
targets = ["${myvars.networking.hostsAddr.rakushun.ipv4}:9153"]; targets = ["${myvars.networking.hostsAddr.aquamarine.ipv4}:9153"];
labels.type = "app"; labels.type = "app";
labels.app = "v2ray"; labels.app = "v2ray";
} }
@@ -96,7 +96,7 @@
metrics_path = "/metrics"; metrics_path = "/metrics";
static_configs = [ static_configs = [
{ {
targets = ["${myvars.networking.hostsAddr.rakushun.ipv4}:10000"]; targets = ["${myvars.networking.hostsAddr.aquamarine.ipv4}:10000"];
labels.type = "app"; labels.type = "app";
labels.app = "v2ray"; labels.app = "v2ray";
} }
@@ -24,12 +24,9 @@
"hosts/12kingdoms-${name}" "hosts/12kingdoms-${name}"
]) ])
++ [ ++ [
{modules.secrets.server.application.enable = true;}
{modules.secrets.server.operation.enable = true;}
{modules.secrets.server.webserver.enable = true;}
]; ];
home-modules = map mylib.relativeToRoot [ home-modules =
"home/linux/tui.nix" map mylib.relativeToRoot [
]; ];
}; };
@@ -26,6 +26,12 @@
"hosts/idols-${name}" "hosts/idols-${name}"
]) ])
++ [ ++ [
{modules.secrets.server.application.enable = true;}
{modules.secrets.server.operation.enable = true;}
{modules.secrets.server.webserver.enable = true;}
];
home-modules = map mylib.relativeToRoot [
"home/linux/tui.nix"
]; ];
}; };