summaryrefslogtreecommitdiff
path: root/Omni/Dev/Beryllium.nix
blob: 367ee1da259cb46d61c1fffb199c8ced5037727d (plain)
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
27
28
29
30
31
32
33
#!/usr/bin/env run.sh
{bild}: let
  packages = import ./Packages.nix {inherit bild;};
in
  bild.os {
    imports = [
      ../Os/Base.nix
      ../Packages.nix
      ../Users.nix
      ./Beryllium/Ava.nix
      ./Beryllium/Configuration.nix
      ./Beryllium/Hardware.nix
      ./Beryllium/Ollama.nix
      ./Docker.nix
      ./Vpn.nix
      ./Beryllium/OpenWebui.nix
      ./Beryllium/Live.nix
      ../Syncthing.nix
      ../Deploy/Deployer.nix
    ];
    networking.hostName = "beryllium";
    networking.domain = "beryl.bensima.com";

    # Mini-PaaS deployer service manages Ava and other services
    # via manifest.json in S3. Services are deployed dynamically
    # without NixOS rebuild.
    services.biz-deployer = {
      enable = true;
      package = packages.deployer;
      manifestPackage = packages.deploy-manifest;
      enableCaddy = false; # Ava uses Tailscale Funnel, not Caddy
    };
  }