Arch Linux laptop power — suspend, battery, and charging

Arch Linux laptop power — suspend, battery, and charging

I recently got a new laptop, (well — not new, but new to me), a HP ZBook 15 G5. After installing Arch Linux and the i3 wm I spend some time setting up power management, suspend on idle, and figuring out the state of the battery.

Read more →

Making my own NVR — with a streaming proxy and FFmpeg

Making my own NVR — with a streaming proxy and FFmpeg

I’ve been thinking about getting some CCTV cameras for a while, and last summer I purchased two Reolink PoE cameras. The footage is stored on a SD card, and uploaded to a local FTP server.

But I also wanted to record continuously, without getting a dedicated Reolink NVR. I’ve seen some YouTube videos by Tall Paul Tech where he uses FFmpeg to record CCTV footage — so let’s do that! 🙂

Read more →

Arch Linux — local caching repository and AUR build server

Arch Linux — local caching repository and AUR build server

I’ve set up a local Arch repository, a dynamic reverse proxy cache using nginx — and a local “build server” for AUR packages, using aurutils.

Here is how, and why 👇

Read more →

Knot Resolver — with ad blocking

Knot Resolver — with ad blocking

I stumbled onto NextDNS recently — it’s like a cloud hosted Pi-hole. I tried it for a few days, but this post isn’t about that.

Reading about the different block lists in NextDNS, and digging deeper into DNS ad blocking gave me motivation to change my current setup — and that is what this post is about 🙂

Read more →

Collecting logs with Grafana Loki and Promtail

Collecting logs with Grafana Loki and Promtail

Having a central place to view or search through server logs is awesome. I’ve used Graylog in the past, but I’ve always felt it was a bit cumbersome to set up and use — and it felt overkill for my need.

Instead I gave Grafana Loki and Promtail a try 👇

Read more →