From aba0ae38df216a3e0983388c7702ef7fcf93d5e4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Thalheim?= Date: Thu, 8 May 2025 10:07:01 +0200 Subject: [PATCH] fix evaluation of disko-images example --- docs/disko-images.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/disko-images.md b/docs/disko-images.md index 8560169..7d1bd5b 100644 --- a/docs/disko-images.md +++ b/docs/disko-images.md @@ -22,7 +22,7 @@ In the this example we create a flake containing a nixos configuration for disko.inputs.nixpkgs.follows = "nixpkgs"; }; - outputs = { self, disko, nixpkgs }: { + outputs = { self, disko, nixpkgs, ... }: { nixosConfigurations.myhost = nixpkgs.lib.nixosSystem { system = "x86_64-linux"; modules = [ @@ -44,7 +44,7 @@ In the this example we create a flake containing a nixos configuration for boot.loader.grub.efiInstallAsRemovable = lib.mkDefault true; # shut up state version warning - system.stateVersion = config.system.nixos.version; + system.stateVersion = config.system.nixos.release; # Adjust this to your liking. # WARNING: if you set a too low value the image might be not big enough to contain the nixos installation disko.devices.disk.main.imageSize = "10G";