Linus's blog

Mostly posts about Nix and NixOS
https://linus.schreibt.jetzt/ (RSS)
visit blog
Odd intersections: Navidrome, Loki, jq and ListenBrainz
20 Sept 2024 | original ↗

Posted on September 20, 2024 by Linus Heckemann Today, I wanted to try out ListenBrainz in conjunction with my self-hosted Navidrome music server. I didn’t want to collect new data for several days before getting interesting suggestions from there, so I had to import some historical...

Switching between code variants using comments
1 Apr 2024 | original ↗

Posted on April 1, 2024 by Linus Heckemann Warning: this post is for entertainment purposes only and explains a hack that everybody may hate you for actually using, as well as post-hoc justification for the hack. Proceed with caution. Sometimes I have a piece of code where I want to...

How to debug your initramfs init
18 Feb 2024 | original ↗

Posted on February 18, 2024 by Linus Heckemann So you find yourself in an awkward situation. You want to debug the startup of the PID1 of your initramfs. My first piece of advice is not to get into this situation. But should you find yourself there anyway, here’s how Julien Malka, Ryan...

Building Ubuntu images in Nix
6 Nov 2023 | original ↗

Posted on November 6, 2023 by Linus Heckemann Nix is a powerful tool for making software builds repeatable. By specifying a build as a derivation, with all its inputs “locked” either through content hashes or as derivations themselves, we can easily achieve the same software build...

Get all your sources!
27 Oct 2023 | original ↗

Posted on October 27, 2023 by Linus Heckemann If you’re taking your NixOS laptop offline for a bit for travel or similar, and you end up trying to reconfigure, you may run into issues because some build dependency of your system is missing – especially if you’ve garbage-collected since...

How can I boot NixOS? Let me count the ways...
7 Dec 2022 | original ↗

Posted on December 7, 2022 by Linus Heckemann This is my talk from NixCon 2022, converted with minimal changes into blog post format. What? NixOS is an operating system based on the Nix package manager and Linux. Linux is an operating system kernel, which means it runs on hardware and...

Back to Ubuntu: Linux dual-boot, but cheaper
21 Oct 2022 | original ↗

Posted on October 21, 2022 by Linus Heckemann I love NixOS. But sometimes, proprietary applications are too fussy about their environment, don’t work in an FHS user env because they want to do their own fun stuff with namespacing, and on top of that want direct access to hardware, set...

Make your QEMU 10 times faster with this one weird trick
13 Oct 2022 | original ↗

Posted on October 13, 2022 by Linus Heckemann The work on QEMU and this post was paid for by Determinate Systems, and the post was co-published on the Determinate Systems blog. Background NixOS uses virtual machines based on QEMU extensively for running its test suite. In order to...

Windows-on-NixOS, part 2: Make it go fast!
17 Jun 2020 | original ↗

Posted on June 17, 2020 by Linus Heckemann This was originally posted on the Mayflower NixOS blog. This is part 2 of a series of blog posts explaining how we took an existing Windows installation on hardware and moved it into a VM running on top of NixOS. Previously, we discussed how...

Windows-on-NixOS, part 1: Migrating bare-metal to a VM
27 Nov 2019 | original ↗

Posted on November 27, 2019 by Linus Heckemann This was originally posted on the Mayflower NixOS blog. This is part 1 of a series of blog posts explaining how we took an existing Windows installation on hardware and moved it into a VM running on top of NixOS. Background We have a...

↑ these items are from RSS. Visit the blog itself at https://linus.schreibt.jetzt/ to find other articles and to appreciate the author's digital home.