Elektrine lite

← Feed

Jacek Γαλοwιcζ

jgalowicz@functional.cafe

<p>Consultant for SW Engineering Processes and SW Architecture, Author of the C++17 STL Cookbook, giving university lectures about SW quality. Haskell, C++, Purescript, GNU/Linux, Nix and NixOS</p>

Posts

  • Post #3980560

    Drop-in replacement for darwin.linux-builder with Rosetta support: If you&#39;re using nix-darwins `nix.linux-builder` (the QEMU-based `darwin.linux-builder`) on macOS, I&#39;d like to invite you to try vzvm: https://github.com/applicative-systems/vzvm It runs nearly the same NixOS builder guest on Apple&#39;s Virtualization.framework instead of QEMU. The main win is Rosetta: `x86_64-linux` builds are translated rather than software-emulated, which came out ~2.5x faster in my benchmarks. It a...

  • Post #3267602

    Working on the @nixos_org test driver at #OceanSprint this week has been great. A few notable improvements for your test suites: SSH Backdoors: Migrated to vhost-device-vsock. No more CID conflicts or extra sandbox paths needed. Fail-Fast: qemu.forceAccel lets you force KVM/HVF and fail immediately if it’s unavailable. Log Hygiene: The driver now uses proper log levels instead of just dumping everything to stdout. Check out the full list of PRs here: https://applicative.systems/nixos-test-dr...

  • Post #3267601

    Should we perhaps rename the &amp;quot;main&amp;quot; branch to &amp;quot;initial,&amp;quot; since &amp;quot;main&amp;quot; suggests that the others aren&amp;#39;t important and thus discriminates against the work of some? #git #programming #social

  • Post #3267600

    How @forgejo is so much fun to use, mostly because of 2 things for me: - it&amp;#39;s really snappy. No waiting most of the time as it&amp;#39;s normal on github and gitlab. - very clean UI. (using the forgejo at @Codeberg and a multiple private @forgejo instances)

  • Post #1027926

    Still relying solely on Nix flakes for input pinning? You are missing out on some seriously cool features! 🤯 Standard tools limit you to Git/Hg, force massive redownloads just to check for updates, and lack mirror support. Enter Nixtamal! 🌟 It unlocks: ✨ Any VCS ✨ Custom freshness checks (curl an API instead of downloading 45GB!) ✨ Input patching before import ✨ BLAKE3 hashing &amp;amp; mirrors! Don&amp;#39;t stay locked in the past: https://nixcademy.com/posts/dont-let-flakes-pin-you-down-unl...

  • Post #864923

    @ariethefloof All of the text is 100% hand-written. No AI was used to write the code or article text. It&amp;#39;s just that i am a terrible painter. :-)

  • Post #864922

    A slight touch of procrastination today with the @nixos_org language

  • Post #864920

    So you created your favorite product system image, minimized it, tested its systemd-sysupdate over-the-air update capabilities, your CI automatically tests it in sandboxed virtual networks, and you are happy with it. Now your carefully engineered product wants to be deployed to a smaller embedded system without hassle? Maybe even from your Mac? The final piece of the NixOS appliance image blog post series puzzle is here, and we are tackling one of the nastiest challenges in embedded systems and...

  • Post #654897

    The @nixos_org integration tests have always been a fantastic tool - We just made them even faster and much simpler to run! 🚀 By adding a new lightweight container backend to the test driver, you can now run your suites on standard, non-KVM VMs. 👇 Here is what the new container backend brings to your NixOS workflow: ⚡ Blazing Fast Execution: How fast? Booting two machines, letting them ping each other, and tearing them down now takes ~3 seconds! 💸 Run Anywhere (Cheaper!): You no longer need b...