26.05: source Lix from nixpkgs, fix disko btrfs label

nixos-26.05 removed lix_2_93, which the lix-module release-2.93 branch
hard-pins via lixFromNixpkgs (no 2.94 module release exists yet). Drop
the lix-module input and set nix.package = pkgs.lix, which is Lix 2.94.2
on 26.05 — so we stay on Lix, just sourced from nixpkgs.

Also: newer disko dropped the btrfs `label` option; pass -L nixos via
extraArgs instead so the impermanence rollback still finds the "nixos"
label.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
randogoth 2026-08-28 12:11:17 +03:00
parent 2f9293f698
commit 72941092d2
4 changed files with 12 additions and 97 deletions

View file

@ -26,8 +26,9 @@
size = "100%";
content = {
type = "btrfs";
extraArgs = [ "-f" ];
label = "nixos";
# Filesystem label "nixos" is required by the impermanence rollback
# logic. Newer disko dropped the `label` option; pass it to mkfs.btrfs.
extraArgs = [ "-f" "-L" "nixos" ];
subvolumes = {
root = {
mountpoint = "/";