Skip to content

Commit 4497e4a

Browse files
committed
setup open-webui
1 parent 351343d commit 4497e4a

12 files changed

Lines changed: 196 additions & 471 deletions

File tree

README.md

Lines changed: 4 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -2,21 +2,9 @@
22

33
# computer
44

5-
A Nix-built OCI image to bootstrap [exe.dev](https://exe.dev) machine.
6-
7-
## Components
8-
9-
- **exe.dev image** — s6-supervised: the Hermes agent (behind a caddy proxy),
10-
tailscaled (persistent tailnet node with Tailscale SSH), restic backups to B2
11-
with restore-on-boot, and a nix daemon for runtime installs.
12-
- **Public ingress** — a root caddy binds the public port (8080, `share
13-
set-public`) and path-routes `/hermes/*` and `/nikita/*` to per-user
14-
self-serve caddies; each user edits their own `~/.caddy/Caddyfile` and `caddy
15-
reload`s. The Hermes dashboard is on 9999, gated behind exe.dev auth.
16-
- **Users**`nikita` (login user, fish shell, home-manager env, sudo) and
17-
`hermes` (the agent: own package set, no sudo, not nix-trusted).
18-
- **Mac** — nix-darwin + home-manager consuming the same `home/` modules;
19-
remaining homebrew (casks, mas apps) declared in `hosts/macbook/homebrew.nix`.
5+
nix files for:
6+
- my mac
7+
- remove [exe.dev](https://exe.dev) machine
208

219
## After creating a machine
2210

@@ -66,7 +54,7 @@ We have to store it outside of the machine to be able to restore everything else
6654

6755
| Variable | Description |
6856
| --- | --- |
69-
| `RESTIC_REPOSITORY` | B2 restic repo, e.g. `b2:my-bucket:hermes` |
57+
| `RESTIC_REPOSITORY` | B2 restic repo, e.g. `b2:backups:exedev` |
7058
| `RESTIC_PASSWORD` | restic repo encryption password |
7159
| `B2_ACCOUNT_ID` | B2 key id |
7260
| `B2_ACCOUNT_KEY` | B2 application key (scope to the bucket) |

flake.lock

Lines changed: 6 additions & 163 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

flake.nix

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,6 @@
1717
url = "github:nix-community/nixvim/nixos-25.11";
1818
inputs.nixpkgs.follows = "nixpkgs";
1919
};
20-
# own nixpkgs pin (no follows): its uv2nix build is tied to it.
21-
hermes-agent.url = "github:NousResearch/hermes-agent";
2220
};
2321

2422
outputs =

hosts/exedev/default.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
name = "computer.exe";
77
labels = {
88
"org.opencontainers.image.title" = "computer.exe";
9-
"org.opencontainers.image.description" = "exe.dev image: s6-overlay, Tailscale SSH, and Hermes";
9+
"org.opencontainers.image.description" = "exe.dev image: s6-overlay, Tailscale SSH, and Open WebUI";
1010
"exe.dev/login-user" = "nikita";
1111
};
1212
packages = with pkgs; [

hosts/exedev/users/default.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@
22
{
33
imports = [
44
./nikita.nix
5-
./hermes.nix
5+
./open-webui.nix
66
];
77
}

0 commit comments

Comments
 (0)