Thaddeus’s Personal Site

This is a slice of the internet that I use to brain dump and document things that I am working on and interest me. All source code for this site is available at: https://github.com/adminprivileges/thaddeuskoenig.com

Read my lastest posts here:

Wireguard DNS issues with Debian

When utilizing debian based distros, I’ve run into this issue a lot when I’m trying to use wireguard and specify DNS settings: /usr/bin/wg-quick: line 31: resolvconf: command not found A lot of this is because of systemd has its own resolvconf so you can simply make a symlink to get wireguard running normally: sudo ln -s /usr/bin/resolvectl /usr/local/bin/resolvconf

ZFS Remove All Snapshots

Sometimes it’s good to have a nice purge of your ZFS snapshots, whether you’re pressed for space or you just feel like doing spring cleaning. The following command will clear all of your ZFS snapshots on your Ubuntu system. Warning: There is no recovery, all the cannonballs have been shot. Only do this if you know you’re in a stable state. sudo zfs list -H -o name -t snapshot | sudo xargs -n1 zfs destroy