blob: d92639fe2ba7f88445d1e60d4a6456a6363a7c4a (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
{ secrets, ... }:
{
virtualisation.oci-containers.containers.beszel-agent = {
image = "henrygd/beszel-agent";
autoStart = true;
ports = [ "45876:45876" ];
volumes = [ "/var/run/docker.sock:/var/run/docker.sock:ro" ];
extraOptions = [ "--network=host" ];
environment = {
PORT = "45876";
KEY = "ssh-ed25519 ${secrets.beszel_agent_public_key}";
};
};
}
|