• Work
  • Blog
  • Library
  • Photography
  • Tools
  • About
  • Work
  • Blog
  • Library
  • Photography
  • Tools
  • About

Blog · Topic

Declarative infrastructure

I'd rather describe a machine in code than remember the commands I ran on it. A Nix config in Git defines my laptop, which runs NixOS with the COSMIC desktop on Wayland and a Razer Core X eGPU. These posts trace problems on that setup layer by layer, down to the config change that fixed each one. On machines without Nix, I keep dotfiles in a Git repo and link them into place with GNU Stow. Most snippets are Nix, but the debugging steps apply to most Linux systems.

  • Getting Handy speech-to-text to type on NixOS and COSMIC, and to use my eGPU

    Handy's shortcut did nothing, and after I fixed that, nothing got typed. A Wayland shortcut, a microphone, the paste method and an autostart file caused it, and the GPU did not.

    Nov 19, 2026
  • Getting a Razer Core X eGPU to work after login on NixOS, without timing the boot

    My Razer Core X eGPU only worked if I timed it against boot. On NixOS the NVIDIA driver rejected the hotplugged card; PCI kernel parameters and a device node fixed it.

    Nov 18, 2026
  • Effortless configuration syncing with GNU Stow and Git: a software engineer's workflow

    Use GNU Stow and Git to keep config files in sync across Linux and macOS. Keep them in one repo with full history, and set up new machines in minutes.

    Jan 12, 2025
Subodh DahalTypographic wordmark set in Newsreader italic 600, with the 4px rose-500 rule beneath.Subodh Dahal
WorkBlogLibraryPhotographyToolsAbout
ImpressumDatenschutz / Privacy