Archived
added beszel agent
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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";
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user