Commit Graph

733 Commits

Author SHA1 Message Date
zuckerberg c84c0716ce Fix push auth with PAT and use correct run_number in ntfy link 2026-02-22 15:12:45 -08:00
zuckerberg a921f40644 Fix git identity and ntfy URL in auto-update workflow 2026-02-22 15:12:45 -08:00
gitea-runner a6c17164fa flake.lock: Update
Check Flake / check-flake (push) Successful in 2m1s
Flake lock file updates:

• Updated input 'home-manager':
    'github:nix-community/home-manager/c6ed3eab64d23520bcbb858aa53fe2b533725d4a?narHash=sha256-WxAEkAbo8dP7qiyPM6VN4ZGAxfuBVlNBNPkrqkrXVEc%3D' (2026-02-21)
  → 'github:nix-community/home-manager/5bd3589390b431a63072868a90c0f24771ff4cbb?narHash=sha256-Tl2I0YXdhSTufGqAaD1ySh8x%2BcvVsEI1mJyJg12lxhI%3D' (2026-02-22)
• Updated input 'microvm':
    'github:astro/microvm.nix/789c90b164b55b4379e7a94af8b9c01489024c18?narHash=sha256-1XJOslVyF7yzf6yd/yl1VjGLywsbtwmQh3X1LuJcLI4%3D' (2026-02-17)
  → 'github:astro/microvm.nix/a3abc020a3d8e624e145f4144ed40702f788ea32?narHash=sha256-Pf4CaRoOLQV02m2POPA%2B0EWvb3gVdpaiS0hNNVZhO3c%3D' (2026-02-21)
• Updated input 'nix-index-database':
    'github:Mic92/nix-index-database/efec7aaad8d43f8e5194df46a007456093c40f88?narHash=sha256-UIKOwG0D9XVIJfNWg6%2BgENAvQP%2B7LO46eO0Jpe%2BItJ0%3D' (2026-02-15)
  → 'github:Mic92/nix-index-database/8f590b832326ab9699444f3a48240595954a4b10?narHash=sha256-/phvMgr1yutyAMjKnZlxkVplzxHiz60i4rc%2BgKzpwhg%3D' (2026-02-22)
2026-02-22 15:04:48 -08:00
zuckerberg 9df8390f1f Add daily auto-update workflow with shared build script
Check Flake / check-flake (push) Successful in 2m7s
2026-02-21 23:29:41 -08:00
zuckerberg 156f0183bd Add ntfy push notification server on ponyo 2026-02-21 23:29:36 -08:00
zuckerberg 8b92e51ef7 Remove phil machine and aarch64 ISO/kexec 2026-02-21 21:43:12 -08:00
zuckerberg 7798872bbf Disable SMB3 directory leases to fix stale listings from local file changes 2026-02-21 21:43:12 -08:00
zuckerberg cf41285cb8 Update inputs + move to nixos-unstable 2026-02-21 21:43:12 -08:00
zuckerberg 5a0a525f64 Add Attic binary cache and containerize gitea runner
Replace nix-serve-only setup with Attic for managed binary caching with
upstream filtering and GC. Move gitea actions runner from host into an
isolated NixOS container with private networking. nix-serve kept alongside
Attic during migration.
2026-02-21 21:43:08 -08:00
zuckerberg 9154595910 Ad Incus sandbox on fry I've already been using for a while now
Check Flake / check-flake (push) Successful in 3m35s
2026-02-17 21:35:23 -08:00
zuckerberg 1b92363b08 Fix rust analyzer in vscode 2026-02-17 21:28:50 -08:00
zuckerberg 136f024cf0 Fix tailscale networking when incus is on 2026-02-17 21:28:28 -08:00
zuckerberg 3d08a3e9bc Improve nix settings for sandboxed workspaces
Check Flake / check-flake (push) Successful in 1m15s
2026-02-14 11:29:02 -08:00
zuckerberg 99ef62d31a Fix unused vars
Check Flake / check-flake (push) Successful in 1m21s
2026-02-11 23:12:00 -08:00
zuckerberg 298f473ceb Remove unused vscode-server module 2026-02-11 23:00:48 -08:00
zuckerberg 546bd08f83 Fix CI build. Ephemeral targets should not be in nixosConfigurations
Check Flake / check-flake (push) Successful in 17m45s
2026-02-11 22:49:11 -08:00
zuckerberg 10f3e3a7bf Remove old stale/unused configuration 2026-02-11 22:47:38 -08:00
zuckerberg d44bd12e17 Update README.md 2026-02-11 21:58:38 -08:00
zuckerberg 60e89dfc90 Clean up CLAUDE.md and make the claude skill correctly this time
Check Flake / check-flake (push) Failing after 6s
2026-02-10 21:08:13 -08:00
zuckerberg 869b6af7f7 Block sandbox access to local network
Add nftables forward rules to prevent sandboxed workspaces from
reaching RFC1918 private addresses while allowing public internet
and the host gateway (for DNS/NAT).
2026-02-09 20:16:02 -08:00
zuckerberg d6a0e8ec49 Disable tailscaleAuth for now because it doesn't work with tailscale's ACL tagged group
Check Flake / check-flake (push) Failing after 35s
2026-02-09 19:57:20 -08:00
zuckerberg 8293a7dc2a Rework Claude Code config in sandboxed workspaces
Remove credential passing to sandboxes (didn't work well enough).
Move onboarding config init from host-side setup into base.nix so
each workspace initializes its own Claude config on first boot.
Wrap claude command in VM and Incus workspaces to always skip
permission prompts.
2026-02-09 19:56:11 -08:00
zuckerberg cbf2aedcad Add use flake for fresh claude code 2026-02-09 18:04:09 -08:00
zuckerberg 69fc3ad837 Add ZFS/btrfs snapshot support to backups
Creates filesystem snapshots before backup for point-in-time consistency.
Uses mount namespaces to bind mount snapshots over original paths, so
restic records correct paths while reading from frozen snapshot data.

- Auto-detects filesystem type via findmnt
- Deterministic snapshot names using path hash
- Graceful fallback for unsupported filesystems
2026-02-08 20:16:37 -08:00
zuckerberg 6041d4d09f Replace nixos-generators with upstream nixpkgs image support 2026-02-08 17:57:16 -08:00
zuckerberg cf71b74d6f Add Incus container support to sandboxed workspaces
- Add incus.nix module for fully declarative Incus/LXC containers
- Build NixOS LXC images using nixpkgs.lib.nixosSystem
- Ephemeral containers: recreated on each start, cleaned up on stop
- Use flock to serialize concurrent container operations
- Deterministic MAC addresses via lib.mkMac to prevent ARP cache issues
- Add veth* to NetworkManager unmanaged interfaces
- Update CLAUDE.md with coding conventions and shared lib docs
2026-02-08 15:16:40 -08:00
zuckerberg 5178ea6835 Configure Claude Code for sandboxed workspaces
- Add credentials bind mount in container.nix
- Create claude-credentials-dir service to copy credentials for VMs
- Generate .claude.json with onboarding skipped and workspace trusted
- Add allowUnfree to container config
2026-02-08 14:53:31 -08:00
zuckerberg 87db330e5b Add sandboxed-workspace module for isolated dev environments
Provides isolated development environments using either VMs (microvm.nix)
or containers (systemd-nspawn) with a unified configuration interface.

Features:
- Unified options with required type field ("vm" or "container")
- Shared base configuration for networking, SSH, users, packages
- Automatic SSH host key generation and persistence
- Shell aliases for workspace management (start/stop/status/ssh)
- Automatic /etc/hosts entries for workspace hostnames
- restartIfChanged support for both VMs and containers
- Passwordless doas in workspaces

Container backend:
- Uses hostBridge for proper bridge networking with /24 subnet
- systemd-networkd for IP configuration
- systemd-resolved for DNS

VM backend:
- TAP interface with deterministic MAC addresses
- virtiofs shares for workspace directories
- vsock CID generation
2026-02-07 22:43:08 -08:00
zuckerberg 70f0064d7b Add claude-code to personal machines 2026-02-07 22:37:35 -08:00
zuckerberg cef8456332 Add CLAUDE.md with project conventions 2026-02-07 22:36:11 -08:00
zuckerberg c22855175a Add logseq and godot-mono
Check Flake / check-flake (push) Successful in 3m51s
2026-02-06 21:12:18 -08:00
zuckerberg 0a06e3c1ae Move vscodium config to home manager and add vscodium profile 2026-02-06 21:11:59 -08:00
zuckerberg eb416ae409 Update nixpkgs for wireless fix https://github.com/nixos/nixpkgs/issues/476906
Check Flake / check-flake (push) Successful in 3m43s
2026-01-27 19:14:40 -08:00
zuckerberg ae2a62515a Enable scanner support
Check Flake / check-flake (push) Successful in 5m46s
2026-01-25 13:11:01 -08:00
zuckerberg 2810ba1412 Enable flakes in kexec image and comma integration
Check Flake / check-flake (push) Successful in 20m21s
2026-01-24 15:02:42 -08:00
zuckerberg e42e30d3cc Fix nix-index autogenerated db comma integration 2026-01-24 15:01:16 -08:00
zuckerberg 83b5d3b8c2 Update nextcloud occ command syntax 2026-01-24 14:59:57 -08:00
zuckerberg 0b604fd99c Add activate deploy command 2026-01-24 14:58:40 -08:00
zuckerberg 51fbae98c5 Update digitalocean key
Check Flake / check-flake (push) Successful in 5m51s
2026-01-14 19:32:21 -08:00
zuckerberg d8eff26864 VLAN workaround for now 2026-01-14 18:56:24 -08:00
zuckerberg 5f7335c2a0 Simplify kexec and iso image generation 2026-01-14 18:54:55 -08:00
zuckerberg bab2df5d7e Use programs.ssh.askPassword
Check Flake / check-flake (push) Successful in 4m56s
2026-01-11 15:24:53 -08:00
zuckerberg adc04d1bc7 Update nixos mailserver
Check Flake / check-flake (push) Successful in 18m38s
2026-01-11 14:25:17 -08:00
zuckerberg da9a8f8c03 Update nixpkgs 2026-01-11 14:25:03 -08:00
zuckerberg 415cbca33e VLAN workaround for now 2026-01-10 23:04:48 -08:00
zuckerberg 51272a172b Add system76-keyboard-configurator to fry 2026-01-10 23:03:19 -08:00
zuckerberg f053c677e8 Set up openwebui + ollama 2026-01-10 23:02:43 -08:00
zuckerberg c130ce6edd Don't generate zed user config file for now 2026-01-10 22:55:31 -08:00
zuckerberg 4718326cb6 Configure ssh-agent to work with keepassxc ssh keys 2026-01-10 22:53:28 -08:00
zuckerberg 61698aa7e2 Add kde connect 2026-01-10 22:52:17 -08:00