Home

infra @main - refs - log -
-
https://git.jolheiser.com/infra.git
dragonwell flake
infra / shincha / beszel.nix
- raw
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
{ config, ... }:
{
  age.secrets.beszel-shincha.file = ../secrets/beszel-shincha.age;
  services = {
    beszel = {
      agent = {
        enable = true;
        environment.LOG_LEVEL = "info";
        environmentFile = config.age.secrets.beszel-shincha.path;
      };
      hub = {
        enable = true;
        environment = {
          APP_URL = "https://monit";
          DISABLE_PASSWORD_AUTH = "true";
        };
      };
    };
    tailproxy.beszel = {
      enable = true;
      hostname = "monit";
      authKey = "tskey-auth-krRJB4JVL321CNTRL-Vfaa8HZwsVXzTU4MUAnBWXsZMCcFbrLVe"; # One-time key
      port = 8090;
    };
  };
}