Re: [PATCH v2 00/10] Introduce a new backend based on Nix and systemd

Daniel Gomez <[email protected]> Wed, 17 Jun 2026 13:07:52 +0200
Newsgroups dev.linux.lists.kdevops
Message-ID <178169367214.9175.3438954159661054519.b4-ty@b4>
From: Daniel Gomez <[email protected]>


On Fri, 12 Jun 2026 12:55:12 +0200, Daniel Gomez wrote:
> One of the headaches of using kdevops's libvirt + libguestfs backend
> comes directly from distro changes that make kdevops non-reproducible
> and a pain to fix. To alleviate the symptoms, and hopefully fix them
> once and for all, introduce a new backend based on Nix and systemd.
> Two standalone, independent projects were created: nixos-flake, hosted
> at github.com/linux-kdevops/nixos-flake, and qemu-system-units (qsu),
> hosted at github.com/linux-kdevops/qemu-system-units.
> 
> [...]

Applied.

Note that git-subtree squash commits aren't git-am/cherry-pick friendly,
so b4 shazam (which applies via git-am) fails on them. I applied this
with a fast-forward merge instead, then removed b4's empty cover-letter
commit via a parent re-graft (no replay):

    git replace --graft be128920 a81b1843 a2ce139b
    git filter-branch --force -- a81b1843..main
    git replace -d be128920

That said, there is git-subrepo [1], a third-party git wrapper that
may avoid these issues more conveniently. Unlike git-submodule (core)
and git-subtree (shipped in git's contrib/), git-subrepo is a separate
project not distributed with git.

Link: https://github.com/ingydotnet/git-subrepo [1]

[01/10] Squashed 'scripts/nixos-flake/' content from commit b599d320
        commit: a2ce139b0772a59dfbaa8ce50e261ae0dac86682
[02/10] Squashed 'scripts/qemu-system-units/' content from commit ecafb788
        (no commit info)
[03/10] bootlinux: add direct-boot build path
        commit: 252cf412a905f878ac281a32f952380a8b425e6a
[04/10] nixosfl: add the nixos-flake libvirt bringup backend
        commit: 983f9e8ccaf62e4c68717f99ab692b68bbda3a90
[05/10] nixos: drop the legacy libvirt-NixOS backend
        commit: a77973dcd1ca15dddcac2e4a842e3bd1b3a886e6
[06/10] nixosfi: add the imageless NixOS bringup backend
        commit: 2c5da6a29befbd94448f615c3598120b8d322243
[07/10] nixos_flake: per-package source overrides
        commit: 36a4a537ee1e2da84a9ae4b93432c972949a4fab
[08/10] qsu: optional virtiofs share into the guest
        commit: 463f6bf4bb7ffcd64086143a910f37edc0374f5f
[09/10] nixosfi: add nixosfi-test target for operator-edited per-VM flakes
        commit: 8fabfacba35615402f319ecb69fcb87dc26205fd
[10/10] docs: add manual nixos-flake and qsu driving guide
        commit: 0a06030241f965c93143ee6acde5b0a7761c91e3

Best regards,
-- 
Daniel Gomez <[email protected]>