zigbee2mqtt workaround


I recently ran into a annoying bug with zigbee2mqtt (which otherwise is excellent!) which requires me to restart the application if it ever loses it’s connection to it’s MQTT-broker. This means that my indoor lights won’t work after any updates or restarts of the machine running Mosquitto.

I solved this by making everything a bit more complicated.

Read more ⟶

VyOS API scripting


I spent some time reading the VyOS documentation again, and rediscovered that there is an API…and that VyOS ships with both python and requests installed. So I hacked together some code to solve a problem, and it actually worked!

Read more ⟶

VyOS & containers


I recently discovered that VyOS has deprecated it’s old firewall configurations, both the zone based one and it’s traditional in/out based one. Now it’s all netfilter input/forward/output chains, which I like so I started looking into VyOS again.

More on the new firewall later, todays subject is containers!

Read more ⟶

Restic backup script


I’ve just setup a backup script for a VPS, but this time I’ve based this on a decent (and stolen) script. We are also using healthchecks.io to get alerted if the backup isn’t run.

Read more ⟶

Notes from upgrading to Debian 12


Around midnight I decided to upgrade my home router to Debian 12. After one hour of troubleshooting manually I managed to save a few seconds by not reading the fine documentation, felt great!

Read more ⟶

Dealing with Emacs backup files


I keep googling the snippet below (stolen from Stack Overflow) for every new system I need it on, so I might as well post it here to help Future Oscar fix this.

Read more ⟶

NixOS & overlays


I re-installed NixOS on a machine recently, and would like to use display-switch for this machine as well. This software isn’t packaged for NixOS yet, but I found a overlay containing it, and these are the steps needed to use it.

Read more ⟶

Add a custom CA to Fedora CoreOS


Another note to future me – how to add a custom certificate authority to Fedora CoreOS. It probably applies to other RedHat distributions as well, like RHEL, CentOS, vanilla Fedora Linux…

Read more ⟶