<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Linux on book.rymcg.tech</title>
    <link>https://book.rymcg.tech/tags/linux/</link>
    <description>Recent content in Linux on book.rymcg.tech</description>
    <generator>Hugo -- gohugo.io</generator>
    <language>en-us</language>
    <lastBuildDate>Sun, 25 Oct 2026 00:00:00 -0600</lastBuildDate>
    <atom:link href="https://book.rymcg.tech/tags/linux/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>BOOMSTICK (for Arch Linux)</title>
      <link>https://book.rymcg.tech/blog/linux/boomstick/</link>
      <pubDate>Sun, 25 Oct 2026 00:00:00 -0600</pubDate>
      <guid>https://book.rymcg.tech/blog/linux/boomstick/</guid>
      <description>Reinstalling Linux on a headless PC or a Raspberry Pi with the official installer can be a tedious affair. I would much rather drive the installation of a new workstation or server from the comfort of my existing workstation, where my editor is already set up the way I like it, and where I can safely keep notes and configs about the process. But before the target machine will accept a remote login, there is a handful of chores that have to be done by hand, every single time:</description>
    </item>
    <item>
      <title>Artix Linux Workstation with Dinit and Sway</title>
      <link>https://book.rymcg.tech/blog/linux/artix-linux-fde-dinit/</link>
      <pubDate>Sun, 05 Apr 2026 00:00:00 -0600</pubDate>
      <guid>https://book.rymcg.tech/blog/linux/artix-linux-fde-dinit/</guid>
      <description>Note: This post documents the manual installation commands. An automated installer is now available: artix-dev.&#xA;This guide documents setting up Artix Linux with dinit on a ThinkPad X1 Carbon laptop. Artix is an Arch-based distribution that does not use systemd. This setup includes full disk encryption with LUKS + LVM (including encrypted /boot), a sway Wayland desktop managed by Nix home-manager (sway-home), and a setup for development with rootless Podman containers and libvirt QEMU virtual machines.</description>
    </item>
    <item>
      <title>NixOS VMs part 1: Running code agents in an immutable NixOS VM</title>
      <link>https://book.rymcg.tech/blog/linux/code-agent-vm/</link>
      <pubDate>Thu, 22 Jan 2026 13:54:00 -0600</pubDate>
      <guid>https://book.rymcg.tech/blog/linux/code-agent-vm/</guid>
      <description>This is part 1 of a series on nixos-vm-template:&#xA;Running code agents in an immutable NixOS VM (this post) Bootstrapping a Docker server with immutable NixOS on Proxmox Mutable VMs are cool too Managing VMs with home-manager and sway-home A NixOS NAS in a Proxmox LXC container AI coding agents like Claude Code and Open Code run in your terminal, read and write files, execute commands, and generally do whatever you tell them to.</description>
    </item>
    <item>
      <title>Git extensions in Babashka</title>
      <link>https://book.rymcg.tech/blog/linux/git-extensions-babashka/</link>
      <pubDate>Tue, 02 Jun 2026 00:00:00 -0600</pubDate>
      <guid>https://book.rymcg.tech/blog/linux/git-extensions-babashka/</guid>
      <description>In a previous post, I introduced git_extensions.sh &amp;ndash; a monolithic bash script providing custom git subcommands (git vendor, git deploy, git deploy-key, git remote-proto). It worked fine. It was also a sprawling monolith of bash, with global variables named things like VENDOR_SSH_PORT and URL parsing done through cascading regex in BASH_REMATCH. The kind of code where adding a feature means holding your breath and hoping set -eo pipefail catches whatever you break.</description>
    </item>
    <item>
      <title>Extensions to git</title>
      <link>https://book.rymcg.tech/blog/linux/git-extensions/</link>
      <pubDate>Sat, 31 Jan 2026 00:00:00 -0600</pubDate>
      <guid>https://book.rymcg.tech/blog/linux/git-extensions/</guid>
      <description>Note: This post documents an older version of this idea written in Bash script form. A newer version has been ported to Babashka.&#xA;Git is already a mass of arcane incantations and eldritch commands. So naturally, we&amp;rsquo;re going to bolt more onto it. Why? Because typing the same 47-character SSH URL for the hundredth time is a rite of passage nobody asked for.&#xA;This post introduces a script that adds several custom git subcommands, turning your terminal into an even more dangerous weapon of mass productivity.</description>
    </item>
    <item>
      <title>LAN-Only Internet Kill Switch</title>
      <link>https://book.rymcg.tech/blog/linux/internet-deny/</link>
      <pubDate>Thu, 19 Feb 2026 12:00:00 -0600</pubDate>
      <guid>https://book.rymcg.tech/blog/linux/internet-deny/</guid>
      <description>When testing system deployments meant for air-gapped networks, you need a way to simulate having no internet access while keeping LAN connectivity intact. Rather than physically unplugging cables or reconfiguring your router, this bash script gives you a quick toggle to block all outbound internet traffic using iptables/ip6tables, while preserving local network access.&#xA;This is useful for verifying that your deployment scripts, container images, and service configurations actually work without reaching out to the internet — catching missing dependencies, hardcoded external URLs, or package manager calls that would fail in a real air-gapped environment.</description>
    </item>
    <item>
      <title>Enhanced tab completion for Justfiles with bash aliases</title>
      <link>https://book.rymcg.tech/blog/linux/just-tab-completion/</link>
      <pubDate>Sun, 25 Jan 2026 12:00:00 -0600</pubDate>
      <guid>https://book.rymcg.tech/blog/linux/just-tab-completion/</guid>
      <description>Just is a command runner - a modern take on the Makefile. You define recipes in a Justfile and run them with just &amp;lt;recipe&amp;gt;. It&amp;rsquo;s become my go-to for project automation: building code, managing VMs, running tests, whatever the project needs.&#xA;Just has built-in tab completion for recipe names, which is nice. But it stops there. If a recipe takes arguments, you&amp;rsquo;re on your own. For a project like nixos-vm-template, where recipes like create take five or six arguments with valid values that depend on the project state (profile names, existing VM names, network modes), I wanted real completion for those arguments too.</description>
    </item>
    <item>
      <title>NixOS VMs part 3: Mutable VMs are cool too</title>
      <link>https://book.rymcg.tech/blog/linux/mutable-vms/</link>
      <pubDate>Thu, 29 Jan 2026 00:00:00 -0600</pubDate>
      <guid>https://book.rymcg.tech/blog/linux/mutable-vms/</guid>
      <description>This is part 3 of a series on nixos-vm-template:&#xA;Running code agents in an immutable NixOS VM Bootstrapping a Docker server with immutable NixOS on Proxmox Mutable VMs are cool too (this post) Managing VMs with home-manager and sway-home A NixOS NAS in a Proxmox LXC container The nixos-vm-template project has, so far, been only about immutable VMs: read-only root filesystem, separate /var disk for state, atomic upgrades from the host.</description>
    </item>
    <item>
      <title>NixOS VMs part 2: Bootstrapping a Docker server with immutable NixOS on Proxmox</title>
      <link>https://book.rymcg.tech/blog/linux/nixos-proxmox-vm/</link>
      <pubDate>Fri, 23 Jan 2026 23:00:00 -0600</pubDate>
      <guid>https://book.rymcg.tech/blog/linux/nixos-proxmox-vm/</guid>
      <description>This is part 2 of a series on nixos-vm-template:&#xA;Running code agents in an immutable NixOS VM Bootstrapping a Docker server with immutable NixOS on Proxmox (this post) Mutable VMs are cool too Managing VMs with home-manager and sway-home A NixOS NAS in a Proxmox LXC container In the last post I described running AI code agents inside immutable NixOS VMs using libvirt on a laptop. That setup works well for local development, but sometimes you want to deploy VMs on actual infrastructure - a Proxmox server sitting in a closet, a rack, or someone else&amp;rsquo;s datacenter.</description>
    </item>
    <item>
      <title>NixOS VMs part 4: Managing VMs with home-manager and sway-home</title>
      <link>https://book.rymcg.tech/blog/linux/nixos-vm-home-manager/</link>
      <pubDate>Thu, 29 Jan 2026 00:00:01 -0600</pubDate>
      <guid>https://book.rymcg.tech/blog/linux/nixos-vm-home-manager/</guid>
      <description>This is part 4 of a series on nixos-vm-template:&#xA;Running code agents in an immutable NixOS VM Bootstrapping a Docker server with immutable NixOS on Proxmox Mutable VMs are cool too Managing VMs with home-manager and sway-home (this post) A NixOS NAS in a Proxmox LXC container The previous posts covered creating and managing VMs with nixos-vm-template. But how do you actually integrate it into your daily workflow on your workstation?</description>
    </item>
    <item>
      <title>NixOS VMs part 5: A NixOS NAS in a Proxmox LXC container</title>
      <link>https://book.rymcg.tech/blog/linux/nixos-lxc-nas/</link>
      <pubDate>Fri, 26 Jun 2026 12:00:00 -0600</pubDate>
      <guid>https://book.rymcg.tech/blog/linux/nixos-lxc-nas/</guid>
      <description>This is part 5 of a series on nixos-vm-template:&#xA;Running code agents in an immutable NixOS VM Bootstrapping a Docker server with immutable NixOS on Proxmox Mutable VMs are cool too Managing VMs with home-manager and sway-home A NixOS NAS in a Proxmox LXC container (this post) Every post in this series so far has been about virtual machines - libvirt on a laptop, KVM on Proxmox, immutable or mutable, but always a full guest with its own kernel.</description>
    </item>
    <item>
      <title>Record Firefox Audio in Audacity with PipeWire</title>
      <link>https://book.rymcg.tech/blog/linux/pipewire-record-firefox-audacity/</link>
      <pubDate>Thu, 09 Apr 2026 12:00:00 -0600</pubDate>
      <guid>https://book.rymcg.tech/blog/linux/pipewire-record-firefox-audacity/</guid>
      <description>This guide shows how to record audio playing in Firefox using Audacity, with PipeWire as the audio backend. You&amp;rsquo;ll create a virtual sink to route Firefox audio into Audacity, and use qpwgraph to set up monitored playback so you can hear what you&amp;rsquo;re recording through your headset.&#xA;Prerequisites PipeWire (with pipewire-pulse) Audacity qpwgraph Create a virtual sink Create a null sink called recordbus that will act as an intermediate audio bus:</description>
    </item>
    <item>
      <title>Continuous immediate file sync with Rclone</title>
      <link>https://book.rymcg.tech/blog/linux/rclone_sync/</link>
      <pubDate>Wed, 03 Mar 2021 00:01:00 -0600</pubDate>
      <guid>https://book.rymcg.tech/blog/linux/rclone_sync/</guid>
      <description>RClone is an excellent, open-source, file synchronization tool. It supports a lot of different service backends. However, it does not automatically sync when files are saved, like the (proprietary) Dropbox tool can. Instead, the common suggestion is to run rclone in a cron job, but this means that your files will only be synchronized as often as the cron job runs.&#xA;We can improve this, with a script that uses inotifywait to run immediately whenever files are changed.</description>
    </item>
    <item>
      <title>WebDAV with Rclone and mTLS</title>
      <link>https://book.rymcg.tech/blog/linux/rclone_webdav/</link>
      <pubDate>Sun, 26 Oct 2025 13:54:00 -0600</pubDate>
      <guid>https://book.rymcg.tech/blog/linux/rclone_webdav/</guid>
      <description>WebDAV is an open extension to the HTTP protocol that lets you treat a web server like a remote filesystem. Rclone is an open source WebDAV client that lets you mount remote volumes for read/write access on your local computer.&#xA;Provision your WebDAV server You can use any WebDAV server that you have access to. If you need to install one, I recommend copyparty or nextcloud (Use the d.rymcg.tech distribution to install these on Docker.</description>
    </item>
    <item>
      <title>Daily backups to S3 with Restic and systemd timers</title>
      <link>https://book.rymcg.tech/blog/linux/restic_backup/</link>
      <pubDate>Mon, 17 Jan 2022 00:01:00 -0600</pubDate>
      <guid>https://book.rymcg.tech/blog/linux/restic_backup/</guid>
      <description>Restic is a modern backup program that can archive your files onto many different cloud and network storage locations, and to help restore your files in case of disaster. This article will show you how to backup one or more user directories to S3 cloud storage, using restic and systemd.&#xA;Choose an S3 vendor and create a bucket Restic supports many different storage mechanisms, but this article and associated scripts will only focus on using S3 storage (AWS or S3 API compatible endpoint).</description>
    </item>
    <item>
      <title>Make SSH remote xdg-open use your local web browser</title>
      <link>https://book.rymcg.tech/blog/linux/ssh-remote-xdg-open/</link>
      <pubDate>Sun, 19 Oct 2025 13:54:00 -0600</pubDate>
      <guid>https://book.rymcg.tech/blog/linux/ssh-remote-xdg-open/</guid>
      <description>Have you ever SSHed into a remote machine and run a program that tried to automatically open a URL in your web browser using xdg-open?&#xA;xdg-open is designed to open URLs in your preferred web browser. On your local machine, that usually works great. Logged in remotely over SSH, without a graphical session, it may try to open the URL in a text-mode browser (e.g., links, w3m), but more than likely it will fail to find any browser.</description>
    </item>
    <item>
      <title>SSH Reverse Tunnel Manager</title>
      <link>https://book.rymcg.tech/blog/linux/ssh_expose/</link>
      <pubDate>Mon, 21 Apr 2025 23:54:00 -0600</pubDate>
      <guid>https://book.rymcg.tech/blog/linux/ssh_expose/</guid>
      <description>To gain remote access to a machine behind a NAT, you have quite a few options. Some of the better ones include:&#xA;Open a static port at the router.&#xA;Use a VPN.&#xA;Both of these top options require some preplanning. Sometimes I want a method that is considerably more temporary or ad-hoc, so heres another option:&#xA;Initiate a reverse tunnel to any old SSH host and expose a public port via the GatewayPorts option.</description>
    </item>
    <item>
      <title>Arch Linux ARM on Thinkpad X13S</title>
      <link>https://book.rymcg.tech/blog/linux/thinkpad-x13s/</link>
      <pubDate>Mon, 20 Mar 2023 00:01:00 -0600</pubDate>
      <guid>https://book.rymcg.tech/blog/linux/thinkpad-x13s/</guid>
      <description>Thinkpad X13S running Arch Linux ARM The Thinkpad X13s is the first Lenovo Thinkpad with an ARM processor (Qualcomm Snapdragon 8cx Gen 3). This laptop is designed to run Microsoft Windows 11 (ARM), but the processor has initial support from the Linux kernel.&#xA;This tutorial will install Arch Linux ARM (&amp;ldquo;alarm&amp;rdquo;) on the Thinkpad X13s, however as of March 2023 this is not yet officially supported. This tutorial will use the Generic AArch64 installation and a custom kernel package from ironrobin/x13s-alarm and the bootable archiso (.</description>
    </item>
    <item>
      <title>Traefik Local Auth Proxy</title>
      <link>https://book.rymcg.tech/blog/linux/traefik_local_auth_proxy/</link>
      <pubDate>Wed, 28 Jan 2026 12:54:00 -0600</pubDate>
      <guid>https://book.rymcg.tech/blog/linux/traefik_local_auth_proxy/</guid>
      <description>If you need to access an HTTP service that requires authentication (Bearer or Basic auth), but you don&amp;rsquo;t want to put the API token anywhere near your code, you can use this script to create a localhost-only proxy for that service. The proxy accepts unauthenticated requests originating only from 127.0.0.1, and it will inject the API token into your requests, and forward them to the upstream server.&#xA;This kind of thing might also be useful for integration with third party software that doesn&amp;rsquo;t support authentication.</description>
    </item>
    <item>
      <title>WireGuard P2P VPN</title>
      <link>https://book.rymcg.tech/blog/linux/wireguard_p2p/</link>
      <pubDate>Sun, 20 Apr 2025 23:39:00 -0600</pubDate>
      <guid>https://book.rymcg.tech/blog/linux/wireguard_p2p/</guid>
      <description>WireGuard is a super fast and simple VPN that makes it easy to set up secure, ad-hoc, private connections using the latest encryption tech. WireGuard&amp;rsquo;s design makes no distinction between &amp;ldquo;server&amp;rdquo; and &amp;ldquo;client&amp;rdquo; — every node is simply a peer. You could designate a particular node as a &amp;ldquo;server&amp;rdquo;, and build a hub-and-spoke architecture, or you can design a full mesh network where every node can talk to every other node.</description>
    </item>
    <item>
      <title>Zram: RAM &#39;doubler&#39; on Linux</title>
      <link>https://book.rymcg.tech/blog/linux/zram/</link>
      <pubDate>Sat, 11 Mar 2023 00:01:00 -0600</pubDate>
      <guid>https://book.rymcg.tech/blog/linux/zram/</guid>
      <description>I remember in the days of MS-DOS you could use a &amp;ldquo;RAM doubler&amp;rdquo; to compress your memory storage and get &amp;ldquo;more&amp;rdquo; RAM, and then a bit later on there was a joke website where you could &amp;ldquo;download&amp;rdquo; more RAM. Well both of these are a reality in Linux (no joke), called Zram&#xA;On my test system, the Odroid-m1, without zram - I have 8GB of physical RAM, and no swap:</description>
    </item>
  </channel>
</rss>
