Skip to content

Commit 2daa230

Browse files
committed
fix evaluation of disko-images example
1 parent f0528e7 commit 2daa230

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/disko-images.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ In the this example we create a flake containing a nixos configuration for
2222
disko.inputs.nixpkgs.follows = "nixpkgs";
2323
};
2424
25-
outputs = { self, disko, nixpkgs }: {
25+
outputs = { self, disko, nixpkgs, ... }: {
2626
nixosConfigurations.myhost = nixpkgs.lib.nixosSystem {
2727
system = "x86_64-linux";
2828
modules = [
@@ -38,7 +38,7 @@ In the this example we create a flake containing a nixos configuration for
3838
];
3939
4040
# shut up state version warning
41-
system.stateVersion = config.system.nixos.version;
41+
system.stateVersion = config.system.nixos.release;
4242
# Adjust this to your liking.
4343
# WARNING: if you set a too low value the image might be not big enough to contain the nixos installation
4444
disko.devices.disk.main.imageSize = "10G";

0 commit comments

Comments
 (0)