No description
Find a file
Doridian 8e3db098a8
All checks were successful
/ deploy (bengalfox.foxden.network) (push) Successful in 6s
/ deploy (icefox.foxden.network) (push) Successful in 6s
/ deploy (islandfox.foxden.network) (push) Successful in 6s
/ lint (push) Successful in 1m0s
TODO, but this works
2025-12-24 23:42:47 -08:00
.forgejo/workflows fix 2025-11-28 23:04:31 -08:00
mikrotik fix map 2025-12-23 11:09:20 -08:00
nix TODO, but this works 2025-12-24 23:42:47 -08:00
terraform Lock file maintenance (#36) 2025-12-21 19:49:50 -08:00
.gitignore regen 2025-10-16 15:59:10 -07:00
LICENSE move 2025-10-16 11:14:46 -07:00
README.md Remove redfox 2025-12-12 21:55:13 -08:00
renovate-local.json schema 2025-12-07 17:31:52 -08:00
renovate.json chore(reposyncer): update repo baseline (#31) 2025-12-07 17:36:02 -08:00

FoxDen core

This is the monorepo to control the FoxDen homelab pretty much in its entirety.

A from-zero setup of router or router-backup is currently impossible. Hence we keep regular backups of those devices around.

I am not sure whether I plan to instrument RouterOS enough to make this possible or not, especially since dynamic portions of RouterOS config, such as DynDNS keys, DNS entries and even firewall rules are already under management.

Machines

BengalFox

  • Locator: Rack; 2U, Supermicro chassis
  • OS: NixOS
  • CPU: Dual Xeon E5-2690v4
  • RAM: 256GB, DDR4-ECC, 2400 MT/s
  • Storage:
    • nix: XFS: RAID1: 2 * 2TB NVMe SSD
    • zhdd: ZFS:
      • RAIDZ2: 8 * 18 TB SATA3 HDD
      • metadata special RAID1: 2 * 1TB SAS3 SSD (partition)
    • zssd: XFS: RAID1: 2 * 3TB SAS3 SSD (partition)
  • Network: 25GbE (SFP28; Mellanox ConnectX-6 Dx)

IslandFox

  • Locator: Rack; Lenovo tiny mini-PC
  • OS: NixOS
  • CPU: AMD Ryzen 7 PRO 470GE
  • RAM: 64GB, DDR4, 3200 MT/s
  • Storage:
    • nix: XFS: RAID1: 2TB NVMe SSD + 2TB SATA3 SSD
  • Network: 1GbE (RJ45)

IceFox

  • Locator: OVH
  • OS: NixOS
  • CPU: Xeon D-2141I
  • RAM: 32GB, DDR4, 2133 MT/s
  • Storage:
    • nix: xfs: RAID1: 2 * 480GB SATA3 SSD
    • ztank: ZFS:
      • MIRROR: 2 * 8 TB SATA3 HDD
  • Network: 1GbE (no traffic limit)

Router

  • Locator: Rack; 1U, white MikroTik CCR2004
  • OS: MikroTik RouterOS
  • CPU: 4 core ARM64 "AL32400"
  • RAM: 4 GB
  • Storage: 128 MB NAND
  • Network:
    • LAN: 25 GbE (SFP28)
    • WAN: 10 GbE (SFP+)

Router Backup

  • Locator: Rack; 1U, black MikroTik RB5009
  • OS: MikroTik RouterOS
  • CPU: 4 core ARM64 "88F7040"
  • RAM: 1 GB
  • Storage: 1 GB NAND
  • Network:
    • LAN: 10 GbE (SFP+)
    • WAN: 2.5 GbE (RJ45)

TODO: Not-yet automated update cycles

  • Every GitHub release artifact download where upstream does not have a digest (likely big files, currently carvera-controller and njs/acme.js)
  • ZFS Linux kernel lag-behind
  • Kanidm version in nix
  • Anything RouterOS

Notes

  • zfs must be mountpoint=legacy
  • DO NOT use /var/run, always use /run, or the entire OS explodes