| 2026-03-11 |
xlab-gateway: fix ylw user missing isNormalUser and add wheel group
...
Co-Authored-By: Claude Opus 4.6 <[email protected]>
|
add ylw user to xlab-gateway
|
| 2026-03-09 |
xlab-gateway: add ULA route for internal IPv6 reachability
...
Route fd99:23eb:1682::/48 via wg-to-wgnet in main table so
xlab-gateway and LAN clients can reach 10.0.0.1's IPv6
(fd99:23eb:1682::1). Without this, ULA traffic went through
the WAN default route and got dropped.
Co-Authored-By: Claude Opus 4.6 <[email protected]>
|
users: grant ldx full NOPASSWD sudo for deploy-rs
...
deploy-rs runs activate-rs, nix-env, switch-to-configuration, and
confirmation commands through separate non-interactive SSH sessions.
Per-command NOPASSWD rules cannot cover all paths it uses. Full
NOPASSWD is the intended deploy-rs setup.
Co-Authored-By: Claude Opus 4.6 <[email protected]>
|
skydick: disable IPv6 to avoid wg-outbound ULA masquerade timeout
...
IPv6 traffic from skydick goes through freedom routing on 10.0.0.1,
which masquerades with ULA fd99:23eb:1682:fe::2 (not globally routable).
This causes nix/cargo downloads to timeout on AAAA records. Skydick has
no IPv6 use cases as a LAN storage server.
Co-Authored-By: Claude Opus 4.6 <[email protected]>
|
refactor xlab-gateway IPv6: /64 SLAAC, scoped policy routing, no NAT66
...
- Change LAN prefix from fd99:23eb:1682:fd:df::/80 to fd99:23eb:1682:1::/64
- Switch from DHCPv6 stateful to SLAAC (AdvAutonomous on, AdvManagedFlag off)
- Add RDNSS in radvd pointing to fd99:23eb:1682::1
- Scope policy routing rules to LAN sources only (fixes gateway IPv6 breakage)
- Remove NAT66 masquerade on wg-to-wgnet (10.0.0.1 routes fd99:23eb:1682:1::/64 natively)
Co-Authored-By: Claude Opus 4.6 <[email protected]>
|
add systemctl and reboot to NOPASSWD sudo rules
...
Needed for restarting services (systemd-networkd, nftables) after
deploy when switch-to-configuration doesn't detect unit changes.
Co-Authored-By: Claude Opus 4.6 <[email protected]>
|
| 2026-03-08 |
fix nftables syntax: use meta nfproto ipv6 in inet table
...
Co-Authored-By: Claude Opus 4.6 <[email protected]>
|
xlab-gateway: route client IPv6 through wg-to-wgnet
...
- Re-add IPv6 default route (::/0) via wg-to-wgnet in table 1002
- Add NAT66 masquerade on wg-to-wgnet for client ULA→tunnel translation
- Campus WAN has no IPv6 transit; wgnet provides it
Co-Authored-By: Claude Opus 4.6 <[email protected]>
|
| 2026-03-07 |
Add switch-to-configuration to NOPASSWD sudo rules
...
Co-Authored-By: Claude Opus 4.6 <[email protected]>
|
Add skydick SSH key, set xlab-gateway deploy to LAN IP
...
- Authorize ldx@skydick ed25519 key for cross-machine deploy-rs
- Change xlab-gateway deploy hostname to 10.253.254.1 (LAN, reachable
from skydick)
Co-Authored-By: Claude Opus 4.6 <[email protected]>
|
deploy-rs: update xlab-gateway hostname, add NOPASSWD sudo
...
- Change xlab-gateway deploy hostname to WAN IP (166.111.98.29)
- Add NOPASSWD sudo rules for deploy-rs activation commands
(nix-env, activate scripts)
Co-Authored-By: Claude Opus 4.6 <[email protected]>
|
xlab-gateway: fix IPv6 routing, clean up table names
...
- Remove IPv6 default route from freedom table (1002) — wgnet peer
doesn't forward IPv6, causing TLS resets on outbound connections
- Remove Tsinghua IPv6 throw route (unnecessary without IPv6 default)
- IPv6 now uses native WAN path instead of WireGuard tunnel
- Rename table 1002 from typo 'wg-to-skywme' to 'freedom-wgnet'
Co-Authored-By: Claude Opus 4.6 <[email protected]>
|
xlab-gateway: add hardware-configuration.nix, disable wait-online
...
- Import generated hardware-configuration.nix (Intel CPU microcode,
boot modules for ehci_pci, ahci, nvme, kvm-intel)
- Disable systemd-networkd-wait-online (gateway doesn't need to block
boot waiting for WireGuard interfaces)
Co-Authored-By: Claude Opus 4.6 <[email protected]>
|
Re-encrypt secrets with SSH recipients (not age recipients)
...
age encrypts differently for age vs SSH recipients. agenix passes
raw SSH host keys as identities, which can only decrypt SSH-recipient
stanzas. Previously used ssh-to-age conversion which created
age-recipient stanzas, causing "no identity matched" errors.
Co-Authored-By: Claude Opus 4.6 <[email protected]>
|
Re-encrypt secrets with correct full host public key
...
The xlab-gateway SSH public key was previously truncated
(missing AAAAC3NzaC1lZDI1NTE5 type prefix), causing agenix
decryption failures. Re-encrypted all .age files with the
correct full key. Verified decryption succeeds on target host.
Co-Authored-By: Claude Opus 4.6 <[email protected]>
|
Add agenix-encrypted secrets and flake.lock
...
- Encrypted WireGuard keys for xlab-gateway (wgnet, skyworks, warp)
- Encrypted WireGuard PSK for wg-to-wgnet
- Placeholder skydick WireGuard secret
- Updated disko.nix with correct NVMe disk ID (MEMPEK1J016GAD)
- Generated flake.lock pinning nixpkgs 24.11, disko, agenix, deploy-rs
Co-Authored-By: Claude Opus 4.6 <[email protected]>
|
Initial skyworks infrastructure flake
...
Unified NixOS configuration for skydick (storage server) and
xlab-gateway (lab router). Flat module structure with shared
common/users/ssh modules, agenix secrets, disko, and deploy-rs.
Co-Authored-By: Claude Opus 4.6 <[email protected]>
|