added beszel agent
Check NixOS configurations / eval-hosts (push) Failing after 6m31s

This commit is contained in:
2026-07-12 18:08:44 +10:00
parent 8266f43980
commit c470737316
3 changed files with 19 additions and 3 deletions
+8
View File
@@ -9,10 +9,18 @@
[ # Include the results of the hardware scan.
../../common/configuration.nix
../../modules/nix/cache-server.nix
../../modules/nix/beszel-agent.nix
];
networking.hostName = "nix-cache"; # Define your hostname.
services.beszel.agent.environment = {
#DOCKER_HOST = "tcp://docker-socket-proxy:2375";
#HUB_URL = "http://docker.sweet.home:8090";
KEY = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIFPR9kwtC4TAeTRu46A7+opZsYpxqkRJ+x/ZyB2GWCeG";
TOKEN = "48e71783-35df-4ea0-a8c2-05bc5e020d2e";
};
services.prometheus.exporters.node = {
enable = true;
openFirewall = true;
+8
View File
@@ -14,6 +14,7 @@
../../modules/nix/remote-builder-client.nix
# ../../modules/nix/tailscale-exit-node.nix
# ../../modules/nix/enable-ip-forwarding.nix
../../modules/nix/beszel-agent.nix
];
@@ -38,6 +39,13 @@
# options = [ "defaults" ];
#};
services.beszel.agent.environment = {
#DOCKER_HOST = "tcp://docker-socket-proxy:2375";
#HUB_URL = "http://docker.sweet.home:8090";
KEY = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIFPR9kwtC4TAeTRu46A7+opZsYpxqkRJ+x/ZyB2GWCeG";
TOKEN = "48e71783-35df-4ea0-a8c2-05bc5e020d2e";
};
#Add sym links to data on users home folder
#system.userActivationScripts.createDockerSymlink.text = ''
# ln -sf /srv/scripts /home/nixos/scripts
+3 -3
View File
@@ -4,8 +4,8 @@
services.beszel.agent.enable = true;
services.beszel.agent.environment = {
#DOCKER_HOST = "tcp://docker-socket-proxy:2375";
HUB_URL = "https://beszel.lan.ddnsgeek.com";
KEY = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIA2Snq66P/6GwTEafKuu3D/V1f7ofjKL9GD6ik+Kf/Gn";
TOKEN = "235b3-25a94f482-84576-40d34c48";
HUB_URL = "http://docker.sweet.home:8090";
#KEY = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIA2Snq66P/6GwTEafKuu3D/V1f7ofjKL9GD6ik+Kf/Gn";
#TOKEN = "235b3-25a94f482-84576-40d34c48";
};
}