Commit Graph

45 Commits

Author SHA1 Message Date
768e9a61dc Add svc host: NixOS config for TornadoVPS edge node
BIOS boot with GRUB on /dev/xvda, MCP agent via systemd,
mc-proxy and MCNS as containers via MCP agent.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-04 15:21:01 -07:00
6fd8ab61ed Fix orion build: remove nonexistent "crypted" LUKS device reference
The LUKS device is named "luks-5c5e94fc-..." in hardware-configuration.nix
which already has the FIDO2 options. The "crypted" reference caused a build
error. Also fix duplicate attribute definitions and unnecessary config wrapper.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-03 11:30:04 -07:00
3be5613120 Fix deprecated NixOS options for 25.11
- Use nixpkgs.hostPlatform module instead of deprecated system arg to lib.nixosSystem
- Rename services.logind.powerKey to services.logind.settings.Login.HandlePowerKey

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-03 09:53:25 -07:00
5d82e27ba4 Add fallback DNS resolvers to all nodes
All nodes now list 1.1.1.1 and 8.8.8.8 as fallback nameservers after
MCNS. When MCNS is down, internal names (.svc.mcp.metacircular.net)
fail but external DNS (google.com, github.com, etc.) keeps working.

Lesson from 2026-04-03 incident: without fallbacks, MCNS failure
caused total DNS blackout including external services, forcing
Tailscale to be disabled to restore any DNS resolution.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-03 09:30:09 -07:00
755450e72e fix orion: remove bogus "crypted" LUKS device reference
The FIDO2 crypttab options are already on the correct UUID-named device
in hardware-configuration.nix; the "crypted" name only applies to
disko-provisioned hosts (rift).

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-03 01:00:19 -07:00
5fd00af73c fix orion: remove duplicate top-level networking/services attrs
The module used explicit `config = { ... }` but also had duplicate
networking.nameservers and services.resolved.domains at the top level,
causing a NixOS module evaluation error. Merged the Tailscale nameserver
into the config block and removed the duplicates.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-03 00:03:58 -07:00
453947ac7b fix straylight /home LUKS: use initrd instead of crypttab
Replace fragile environment.etc.crypttab.text with
boot.initrd.luks.devices for the second SSD, matching
the pattern used for the root drive.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-02 00:12:14 -07:00
a8e43936cf pass #2
following random blogs doesn't always work
2026-04-01 23:53:00 -07:00
0e9f6d890e straylight hardware 2026-04-01 20:32:08 -07:00
0f1f0dcc78 Adding straylight. 2026-04-01 12:39:44 -07:00
c26f5b9a87 ignore power key on vade 2026-03-30 13:04:53 -07:00
a1c59deb0b Disable Tailscale DNS management on vade to fix DNS timeout
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-26 21:54:00 -07:00
c0d16c97e0 revert dns bugs 2026-03-26 21:38:05 -07:00
8c9d8f4ff5 Fix DNS: restore Tailscale catch-all removal service
The previous commit removed the systemd service that stripped Tailscale's
~. DNS catch-all, breaking all DNS resolution — even when Tailscale is
disconnected. Restore it as fix-tailscale-dns, which restricts tailscale0
to only route ~scylla-hammerhead.ts.net queries.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-26 21:32:15 -07:00
0e54bd5fe7 Use /etc/hosts for internal Metacircular names (Tailscale DNS workaround) 2026-03-26 15:41:30 -07:00
ad3b6b949b Fix: add pkgs to vade module arguments 2026-03-26 15:37:53 -07:00
c8b271d6b9 Fix DNS routing: override Tailscale catch-all for mcp.metacircular.net 2026-03-26 15:35:47 -07:00
276cfc48a9 Add mcp system user for MCP agent 2026-03-26 13:01:33 -07:00
170c4ab67d orion: route mcp.metacircular.net zone to rift via resolved
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-26 09:04:37 -07:00
0d1fe5536f Enable fido2 luks on orion/rift. 2026-03-26 08:56:02 -07:00
7be8a4c5e6 orion/rift -> systemd initrd
Allows for FIDO2 LUKS unlock.
2026-03-26 08:48:53 -07:00
56621710dd update rift dns resolver 2026-03-25 22:51:34 -07:00
71702dfb06 Add metacircular control programs to rift, orion, and vade
Install mciasctl, mciasgrpcctl, mcrctl, and mcproxyctl via new
configs/mcpkg.nix module. Adds flake inputs for mcias, mcr, and
mc-proxy from git.wntrmute.dev.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-25 21:11:25 -07:00
a09dd925ac rift: open firewall for mc-proxy (443, 8443, 9443) and exod (8080, 9090)
Remove implicit reliance on temp iptables rules. All externally
accessible ports are now declared in NixOS config.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-25 19:51:38 -07:00
73be02eaae vade: route mcp.metacircular.net zone to rift via resolved
Link-level DNS from DHCP and Tailscale takes priority over global
nameservers in systemd-resolved. Use domain routing (~mcp.metacircular.net)
so resolved sends only internal zone queries to rift's CoreDNS.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-25 19:22:35 -07:00
eecb3973b1 rift: allow port 53 for CoreDNS, vade: use rift as DNS
rift: sysctl to allow rootless containers to bind port 53, open
firewall for DNS queries from LAN clients.

vade: point nameservers at rift (LAN + Tailscale) for internal
service resolution via CoreDNS (MCNS precursor). Falls back to
1.1.1.1/8.8.8.8 via systemd-resolved.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-25 19:19:02 -07:00
998a1d9aaf fix stylus support 2026-03-25 16:29:04 -07:00
d1aee2f30e vade: prefer FIDO2 over passphrase for LUKS unlock
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-24 23:56:40 -07:00
efe0252473 flake updates and systemd initrd 2026-03-24 23:23:15 -07:00
fd6f699068 add power optimizations for vade laptop
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-03-17 18:12:25 -07:00
155f8d4aac add nixos-hardware module for framework 12 laptop
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-03-17 18:03:03 -07:00
e8c45e54d0 add vade hardware config 2026-03-17 12:23:46 -07:00
099a6e4250 splitting things out for vade 2026-03-16 19:18:26 -07:00
d3bc36ef59 Start vade. 2026-03-16 18:32:11 -07:00
5617ceacab add ono-sendai 2025-12-02 14:03:47 -08:00
19e9b46226 add sk 2025-09-09 16:21:14 -07:00
4d026cac96 Starting config for rift. 2025-09-02 20:24:42 -07:00
e06e48932d multiple updates
+ remove meshtastic temporarily
+ update imladris to use desktop system
+ move signal-desktop to desktop-packages
+ update README
2025-09-01 14:50:49 -07:00
a6a0b72dcb t y p o ' d 2025-09-01 09:35:45 -07:00
34272ed0e7 Trying per-machine packages. 2025-09-01 09:35:17 -07:00
01033b8c26 paths are hard 2025-09-01 00:25:51 -07:00
764ed1d075 Refactor to set up specific desktop-based configs. 2025-09-01 00:24:04 -07:00
f14e4e8727 it did not, try this 2025-09-01 00:11:06 -07:00
967be2c438 lets see if this works 2025-09-01 00:08:22 -07:00
3b4ebd414d flakier nixos 2025-05-05 16:25:02 -07:00