[{"data":1,"prerenderedAt":55,"buildId":56},["ShallowReactive",2],{"topic-declarative-infrastructure":3,"topic-posts-declarative-infrastructure":26},{"id":4,"title":5,"body":6,"description":17,"extension":18,"meta":19,"navigation":20,"order":21,"path":22,"seo":23,"stem":24,"__hash__":25},"topics\u002Ftopics\u002Fdeclarative-infrastructure.md","Declarative infrastructure",{"type":7,"value":8,"toc":13},"minimark",[9],[10,11,12],"p",{},"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.",{"title":14,"searchDepth":15,"depth":15,"links":16},"",2,[],"Machines configured as code: NixOS with COSMIC on Wayland and a Razer Core X eGPU, dotfiles synced across Linux and macOS with GNU Stow and Git, and the config changes that fixed what broke.","md",{},true,"4","\u002Ftopics\u002Fdeclarative-infrastructure",{"title":5,"description":17},"topics\u002Fdeclarative-infrastructure","u5X-E-8M6d-_I2SnVlbjuFsZV3zW72dtV5GxwafB3pE",[27,39,48],{"title":28,"description":29,"path":30,"postDate":31,"tags":32},"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.","\u002Fblog\u002Fhandy-speech-to-text-nixos-cosmic-egpu","2026-11-19",[33,34,35,36,37,38],"troubleshooting","nixos","cosmic","wayland","speech-to-text","egpu",{"title":40,"description":41,"path":42,"postDate":43,"tags":44},"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.","\u002Fblog\u002Frazer-core-x-egpu-hotplug-nixos","2026-11-18",[33,34,38,45,46,47],"thunderbolt","nvidia","linux",{"title":49,"description":50,"path":51,"postDate":52,"tags":53},"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.","\u002Fblog\u002Feffortless-configuration-syncing-with-gnu-stow","2025-01-12",[54],"developer productivity",1796138751372,"ee16022c-1978-45dd-a0fb-9116b058c386"]