Hugo Persson

Latest posts

Migrating to Komodo with Git-Based Resource Syncs for my HomeLab

4 min read
HomeLab Resource Sync Configuration Management Replicability DevOps Self-Hosting Automation Docker
Learn how I transitioned my HomeLab setup from Portainer to Komodo using Git-based Resource Syncs. This guide covers setting up, deploying, and syncing configurations for improved replicability and version control.

Dynamic Traefik Configuration for multi host setup

5 min read
rust github-actions ci/cd cargo
In my Home Lab I have multiple hosts, some on the same machine virtualized with proxmox and some on different machines. I want to have a single entrypoint to my homelab protected with Traefik and Authelia. This is how I set it up.

Simplify Secret Management with Infisical: A Guide to Self-Hosting and Integration

4 min read
DevOps Next.js python Secret Management Self-Hosting Docker Security Secrets Rotation
Discover how to self-host and integrate Infisical for streamlined secret management. This guide covers setup, Next.js and Python integration, multi-environment handling, and key rotation, helping you enhance security and simplify workflows across your projects.

How Clop Slashed My Obsidian Vault Size by 75%: A Developer’s Guide to Smart Media Optimization

3 min read
obsidian mac-tools
Discover how to automatically compress images, PDFs, and recordings in your Obsidian vault while maintaining quality. This practical guide shows you how to set up Clop for effortless media optimization and potentially reduce your vault size by up to 75%

My Resume as a PDF to My Website Using LaTeX and GitHub Actions

3 min read
latex github-actions
A step-by-step guide on how I used LaTeX to create my resume and automated its publication to my website as a PDF using GitHub Actions. This article outlines my workflow on macOS, from creating the resume to deploying it automatically.

Why I switched from Yabai to Aerospace and why Aerospace the best window manager for Mac

1 min read
cli dotfile macos
Why I switched from Yabai to Aerospace and why you should too. I will explain in what way Aerospace is better and my new workflow. As well as why everyone should use a tiling window manager on my

My Zettelkasten influenced Obsidian note-taking system

1 min read
obsidian notetaking
How I manage my notes in Obsidian with a Zettelkasten inspired system. For my academic learning, professional work, and personal projects.

How to publish CLI app with Homebrew

4 min read
homebrew cli
In this post, I will show how to publish any CLI app to Homebrew. The formula will install the binaries from GitHub Releases for a completely free setup.I had quite a lot of problem figuring out how to do this, so I hope this post will help you. We will create a formula for our app and publish it to our own Homebrew Tap.

Publish a Rust CLI App with GitHub Actions

4 min read
rust github-actions ci/cd cargo
How to create a GitHub Actions workflow to automatically build a Rust app. Create a GitHub release and attach the binary to it for all platforms. For example if you have a Rust CLI app that you want to publish the binaries to GitHub so people can download your tools, this is how to do it.

Wireguard with DNS in Docker

3 min read
wireguard docker dns
In this guide, I'll show you how I set up a Wireguard server and a DNS server on the same host in my HomeLab. Many users face issues using a local DNS server with Wireguard. I'll explain how to configure Wireguard to access local devices and use a local DNS server like AdGuard Home, with both running in Docker on the same machine.