From 0b1c12d2e5f776c8dc252c7ecdc5fc53636911a4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Thalheim?= Date: Sun, 31 Aug 2025 15:26:01 +0200 Subject: [PATCH] flash-installer: disable state-version We cannot have vars in here because it breaks: ``` clan flash write --flake https://git.clan.lol/clan/clan-core/archive/main.tar.gz --ssh-pubkey $HOME/.ssh/id_ed25519.pub --keymap us --language en_US.UTF-8 --disk main /dev/sdb flash-installer ``` --- templates/machine/flash-installer/configuration.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/templates/machine/flash-installer/configuration.nix b/templates/machine/flash-installer/configuration.nix index 423ba2667..431680ec3 100644 --- a/templates/machine/flash-installer/configuration.nix +++ b/templates/machine/flash-installer/configuration.nix @@ -10,6 +10,9 @@ clan-core.nixosModules.installer ]; + # We don't need state-version in a live installer + clan.core.settings.state-version.enable = false; + clan.core.deployment.requireExplicitUpdate = true; nixpkgs.pkgs = inputs.nixpkgs.legacyPackages.x86_64-linux;