mirror of
https://github.com/ryan4yin/nix-config.git
synced 2026-04-23 09:18:35 +02:00
feat: migrate services to aqua
This commit is contained in:
@@ -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,13 +24,10 @@
|
|||||||
"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 [
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
inherit (inputs) nixos-rk3588;
|
inherit (inputs) nixos-rk3588;
|
||||||
|
|||||||
@@ -26,7 +26,13 @@
|
|||||||
"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"
|
||||||
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
systemArgs = modules // args;
|
systemArgs = modules // args;
|
||||||
|
|||||||
Reference in New Issue
Block a user