diff options
| -rw-r--r-- | src/App.tsx | 3 | ||||
| -rw-r--r-- | src/blog/homelab.md | 26 | ||||
| -rw-r--r-- | src/pages/Homelab.tsx | 47 |
3 files changed, 27 insertions, 49 deletions
diff --git a/src/App.tsx b/src/App.tsx index 55131e6..dba1c7c 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -3,7 +3,6 @@ import Navbar from './components/Navbar'; import GearPage from './pages/Gear'; import HomePage from './pages/Home'; import ProjectsPage from './pages/Projects'; -import HomelabPage from './pages/Homelab'; import Footer from './components/Footer'; import NotFoundPage from './pages/404Page'; import Blog from './pages/Blog'; @@ -19,7 +18,7 @@ function App() { <Route path="/" element={<HomePage />} /> <Route path="/gear" element={<GearPage />} /> <Route path='/projects' element={<ProjectsPage />} /> - <Route path='/homelab' element={<HomelabPage />} /> <Route path='/blog' element={<Blog />} /> + <Route path='/blog' element={<Blog />} /> <Route path='/blog/:slug' element={<Post />} /> <Route path='*' element={<NotFoundPage />} /> </Routes> diff --git a/src/blog/homelab.md b/src/blog/homelab.md new file mode 100644 index 0000000..19a388b --- /dev/null +++ b/src/blog/homelab.md @@ -0,0 +1,26 @@ +--- +title: "Homelab" +date: "2025-06-25" +excerpt: "My Homelab setup" +cover: "/images/nas.webp" +--- + +## NAS + +My custom-built NAS running Unraid hosts the following services. See [gear](/gear) for specs. + +- Jellyfin: Media library +- Kavita: Ebooks and manga +- AdGuard Home: Ad blocking +- Nginx: Reverse proxy +- Ollama: Enough for small LLM testing + +For remote access, I connect to the machine via VPN. I back up my MacBook to that machine with Time Machine, and I back up my desktop and VPS to it using rsync. + +## Raspberry Pi + +Raspberry Pi 5 (8GB) running [Homebridge](https://homebridge.io/) to integrate non-HomeKit devices. It also serves as a precision NTP server using a [Uputronics](https://store.uputronics.com/products/raspberry-pi-gps-rtc-expansion-board) GPS module. + +## VPS +Cheap Ionos VPS running nixos via [nixos-infect](https://github.com/elitak/nixos-infect) for services exposed to the internet. Mainly using it for hosting this website and [Nextcloud](https://nextcloud.com/). + diff --git a/src/pages/Homelab.tsx b/src/pages/Homelab.tsx deleted file mode 100644 index 9371ff2..0000000 --- a/src/pages/Homelab.tsx +++ /dev/null @@ -1,47 +0,0 @@ -const nasServices = [ - "Jellyfin: Media library", - "Kavita: Ebooks and manga", - "AdGuard Home: Ad blocking", - "Nginx: Reverse proxy", - "Ollama: Enough for small LLM testing", -]; - -export default function HomelabPage() { - return ( - <> - <title>߸ homelab</title> - <h1>Home lab</h1> - - <section className="mb-12"> - <h2>NAS</h2> - <img src="/images/nas.webp" alt="NAS" className="mx-auto mb-4 w-64 rounded-lg shadow" /> - <p className="mb-4 leading-relaxed"> - My custom-built NAS running <strong>Unraid</strong> hosts the following services. See <a href='/gear'>gear</a> for specs. - </p> - <ul className="list-disc pl-6 space-y-1"> - {nasServices.map((svc) => ( - <li key={svc}>{svc}</li> - ))} - </ul> - <p className="mb-4 leading-relaxed"> - For remote access, I connect to the machine via VPN. I back up my MacBook to that machine with Time Machine, and I back up my desktop and VPS to it using rsync. - </p> - </section> - - <section className="mb-12"> - <h2>Raspberry Pi</h2> - <img src="/images/pi.webp" alt="Raspberry Pi 5" className="mx-auto mb-4 w-64 rounded-lg shadow" /> - <p className="mb-4 leading-relaxed"> - Raspberry Pi 5 (8GB) running <a href='https://homebridge.io'>Homebridge</a> to integrate non-HomeKit devices. It also serves as a precision NTP server using a <a href='https://store.uputronics.com/products/raspberry-pi-gps-rtc-expansion-board' target='_blank'>Uputronics GPS module</a>. - </p> - </section> - - <section> - <h2>VPS</h2> - <p className="mb-4 leading-relaxed"> - Cheap Ionos VPS running nixos via <a href='https://github.com/elitak/nixos-infect'>nixos-infect</a> for services exposed to the internet. Mainly using it for hosting this website and <a href='https://nextcloud.com'>Nextcloud</a>. - </p> - </section> - </> - ); -}
\ No newline at end of file |
