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

View File

@@ -83,7 +83,7 @@
metrics_path = "/metrics";
static_configs = [
{
targets = ["${myvars.networking.hostsAddr.rakushun.ipv4}:9153"];
targets = ["${myvars.networking.hostsAddr.aquamarine.ipv4}:9153"];
labels.type = "app";
labels.app = "v2ray";
}
@@ -96,7 +96,7 @@
metrics_path = "/metrics";
static_configs = [
{
targets = ["${myvars.networking.hostsAddr.rakushun.ipv4}:10000"];
targets = ["${myvars.networking.hostsAddr.aquamarine.ipv4}:10000"];
labels.type = "app";
labels.app = "v2ray";
}

View File

@@ -24,13 +24,10 @@
"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/linux/tui.nix"
];
home-modules =
map mylib.relativeToRoot [
];
};
inherit (inputs) nixos-rk3588;

View File

@@ -26,7 +26,13 @@
"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"
];
};
systemArgs = modules // args;