File tree Expand file tree Collapse file tree 8 files changed +364
-1
lines changed
services/openclaw-gateway Expand file tree Collapse file tree 8 files changed +364
-1
lines changed Original file line number Diff line number Diff line change @@ -6,6 +6,7 @@ versioning is done in a continuous fashion without worries of breaking changes.
66
77## patches
88
9+ - ` openclaw ` : bring tom to slack in persistent http connection kept 2026-04-05
910- ` systemd ` : protect against services finding another other process 2026-04-04
1011- ` nix ` : import language servers and formatted linter from upstream 2026-04-04
1112- ` vhs ` : record terminal demos with tapes that share in caring gifs 2026-03-30
Original file line number Diff line number Diff line change 6666 email = "zim@o526.net" ;
6767 group = "nginx" ;
6868 } ;
69+ "tom.o526.net" = {
70+ email = "zim@o526.net" ;
71+ group = "nginx" ;
72+ } ;
6973 "o526.net" = {
7074 email = "zim@o526.net" ;
7175 group = "nginx" ;
124128 proxyWebsockets = true ;
125129 } ;
126130 } ;
131+ "tom.o526.net" = {
132+ enableACME = true ;
133+ forceSSL = true ;
134+ locations . "/slack/events" = {
135+ proxyPass = "http://10.100.0.2:18789" ;
136+ proxyWebsockets = false ;
137+ extraConfig = ''
138+ proxy_set_header x-forwarded-user "slack";
139+ '' ;
140+ } ;
141+ } ;
127142 "o526.net" = {
128143 enableACME = true ;
129144 forceSSL = true ;
Original file line number Diff line number Diff line change 2020 url = "github:LnL7/nix-darwin" ;
2121 inputs . nixpkgs . follows = "nixpkgs" ;
2222 } ;
23+ nix-openclaw = {
24+ url = "github:openclaw/nix-openclaw" ;
25+ inputs . nixpkgs . follows = "nixpkgs" ;
26+ } ;
2327 nixos-generators = {
2428 url = "github:nix-community/nixos-generators" ;
2529 inputs . nixpkgs . follows = "nixpkgs" ;
166170 ./machines/tom/configuration.nix
167171 inputs . home-manager . nixosModules . home-manager
168172 inputs . impermanence . nixosModules . impermanence
173+ inputs . nix-openclaw . nixosModules . openclaw-gateway
169174 inputs . sops-nix . nixosModules . sops
170175 {
171176 home-manager = {
Original file line number Diff line number Diff line change 1313 } ;
1414 } ;
1515 nixpkgs . config = {
16+ allowInsecurePredicate =
17+ pkg :
18+ builtins . elem ( pkgs . lib . getName pkg ) [
19+ "openclaw"
20+ ] ;
1621 allowUnfreePredicate =
1722 pkg :
1823 builtins . elem ( pkgs . lib . getName pkg ) [
6065 ./services/interception-tools
6166 ./services/minecraft-server
6267 ./services/ollama
68+ ./services/openclaw-gateway
6369 ./services/openssh
6470 ./services/pipewire
6571 ./services/plasma6
9399 "/etc/ollama/models"
94100 "/srv/minecraft/world"
95101 "/var/lib/nixos"
102+ "/var/lib/openclaw"
96103 "/var/lib/slack"
97104 "/var/lib/soft-serve"
98105 "/var/lib/systemd/coredump"
159166 5000 # Quintus
160167 8082 # Todo's Guide
161168 8083 # Endpoints
169+ 18789 # OpenClaw
162170 23231 # Soft Serve
163171 25565 # Minecraft
164172 ] ;
283291 owner = "slacks" ;
284292 group = "slacks" ;
285293 } ;
294+ "openclaw" = {
295+ format = "dotenv" ;
296+ owner = "openclaw" ;
297+ group = "openclaw" ;
298+ sopsFile = ./services/openclaw-gateway/vault.env ;
299+ } ;
286300 "restic/git" = {
287301 owner = "git" ;
288302 group = "git" ;
Original file line number Diff line number Diff line change 1+ keys :
2+ - &tom age1dujf55uzev2nnpq6c2drn0e8pmpxay22qqfsavwaxqakwn9se5hsputgx4
3+ creation_rules :
4+ - path_regex : \.env$
5+ key_groups :
6+ - age :
7+ - *tom
You can’t perform that action at this time.
0 commit comments