Add baszel agent to vms and xcy
This commit is contained in:
parent
a8cdec9d9a
commit
8d09ffa2d8
6 changed files with 30 additions and 0 deletions
|
|
@ -56,6 +56,15 @@
|
||||||
tokenSecretFile = config.age.secrets.hawser-token;
|
tokenSecretFile = config.age.secrets.hawser-token;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
services.beszel.agent = {
|
||||||
|
enable = true;
|
||||||
|
environment = {
|
||||||
|
HUB_URL = "https://beszel.jfreudenberger.de";
|
||||||
|
DISABLE_SSH = "true";
|
||||||
|
};
|
||||||
|
environmentFile = config.age.secrets.beszel.path;
|
||||||
|
};
|
||||||
|
|
||||||
# This option defines the first version of NixOS you have installed on this particular machine,
|
# This option defines the first version of NixOS you have installed on this particular machine,
|
||||||
# and is used to maintain compatibility with application data (e.g. databases) created on older NixOS versions.
|
# and is used to maintain compatibility with application data (e.g. databases) created on older NixOS versions.
|
||||||
# Most users should NEVER change this value after the initial install, for any reason,
|
# Most users should NEVER change this value after the initial install, for any reason,
|
||||||
|
|
|
||||||
|
|
@ -2,5 +2,6 @@
|
||||||
{
|
{
|
||||||
age.secrets = {
|
age.secrets = {
|
||||||
hawser-token.file = "${inputs.secrets}/secrets/busch-gpu-docker/hawser-token";
|
hawser-token.file = "${inputs.secrets}/secrets/busch-gpu-docker/hawser-token";
|
||||||
|
beszel.file = "${inputs.secrets}/secrets/busch-gpu-docker/beszel";
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -44,6 +44,15 @@
|
||||||
tokenSecretFile = config.age.secrets.hawser-token;
|
tokenSecretFile = config.age.secrets.hawser-token;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
services.beszel.agent = {
|
||||||
|
enable = true;
|
||||||
|
environment = {
|
||||||
|
HUB_URL = "https://beszel.jfreudenberger.de";
|
||||||
|
DISABLE_SSH = "true";
|
||||||
|
};
|
||||||
|
environmentFile = config.age.secrets.beszel.path;
|
||||||
|
};
|
||||||
|
|
||||||
# This option defines the first version of NixOS you have installed on this particular machine,
|
# This option defines the first version of NixOS you have installed on this particular machine,
|
||||||
# and is used to maintain compatibility with application data (e.g. databases) created on older NixOS versions.
|
# and is used to maintain compatibility with application data (e.g. databases) created on older NixOS versions.
|
||||||
# Most users should NEVER change this value after the initial install, for any reason,
|
# Most users should NEVER change this value after the initial install, for any reason,
|
||||||
|
|
|
||||||
|
|
@ -2,5 +2,6 @@
|
||||||
{
|
{
|
||||||
age.secrets = {
|
age.secrets = {
|
||||||
hawser-token.file = "${inputs.secrets}/secrets/busch-main-docker/hawser-token";
|
hawser-token.file = "${inputs.secrets}/secrets/busch-main-docker/hawser-token";
|
||||||
|
beszel.file = "${inputs.secrets}/secrets/busch-main-docker/beszel";
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -33,6 +33,15 @@
|
||||||
tokenSecretFile = config.age.secrets.hawser-token;
|
tokenSecretFile = config.age.secrets.hawser-token;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
services.beszel.agent = {
|
||||||
|
enable = true;
|
||||||
|
environment = {
|
||||||
|
HUB_URL = "https://beszel.jfreudenberger.de";
|
||||||
|
DISABLE_SSH = "true";
|
||||||
|
};
|
||||||
|
environmentFile = config.age.secrets.beszel.path;
|
||||||
|
};
|
||||||
|
|
||||||
networking.firewall = {
|
networking.firewall = {
|
||||||
checkReversePath = "loose";
|
checkReversePath = "loose";
|
||||||
allowedTCPPorts = [
|
allowedTCPPorts = [
|
||||||
|
|
|
||||||
|
|
@ -2,5 +2,6 @@
|
||||||
{
|
{
|
||||||
age.secrets = {
|
age.secrets = {
|
||||||
hawser-token.file = "${inputs.secrets}/secrets/xcy/hawser-token";
|
hawser-token.file = "${inputs.secrets}/secrets/xcy/hawser-token";
|
||||||
|
beszel.file = "${inputs.secrets}/secrets/xcy/beszel";
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue