File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff 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";
You can’t perform that action at this time.
0 commit comments