From 598b311215bc0d03736beb8c539e555d2e3915de Mon Sep 17 00:00:00 2001 From: Astro Date: Tue, 23 May 2023 21:48:23 +0200 Subject: [PATCH] windowsIso: Win10_21H2 -> Win11_22H2 --- wfvm/autounattend.nix | 4 ++-- wfvm/demo-image.nix | 8 ++++---- wfvm/win.nix | 8 ++++---- 3 files changed, 10 insertions(+), 10 deletions(-) diff --git a/wfvm/autounattend.nix b/wfvm/autounattend.nix index 95ce44a..6936717 100644 --- a/wfvm/autounattend.nix +++ b/wfvm/autounattend.nix @@ -15,7 +15,7 @@ , impureShellCommands ? [] , driveLetter ? "D:" , efi ? true -, imageSelection ? "Windows 10 Pro" +, imageSelection ? "Windows 11 Pro N" , ... }: @@ -299,7 +299,7 @@ let - + ''; diff --git a/wfvm/demo-image.nix b/wfvm/demo-image.nix index cede253..9c6bfb1 100644 --- a/wfvm/demo-image.nix +++ b/wfvm/demo-image.nix @@ -19,9 +19,9 @@ wfvm.makeWindowsImage { # Custom base iso # windowsImage = pkgs.requireFile rec { - # name = "Win10_21H1_English_x64.iso"; - # sha256 = "1sl51lnx4r6ckh5fii7m2hi15zh8fh7cf7rjgjq9kacg8hwyh4b9"; - # message = "Get ${name} from https://www.microsoft.com/en-us/software-download/windows10ISO"; + # name = "Win11_22H2_English_x64v1.iso"; + # sha256 = "08mbppsm1naf73z8fjyqkf975nbls7xj9n4fq0yp802dv1rz3whd"; + # message = "Get disk image ${name} from https://www.microsoft.com/en-us/software-download/windows11/"; # }; # impureShellCommands = [ @@ -70,7 +70,7 @@ wfvm.makeWindowsImage { # License key (required) # productKey = throw "Search the f* web" - imageSelection = "Windows 10 Pro"; + imageSelection = "Windows 11 Pro N"; # Locales diff --git a/wfvm/win.nix b/wfvm/win.nix index d7066bf..081b36b 100644 --- a/wfvm/win.nix +++ b/wfvm/win.nix @@ -6,7 +6,7 @@ , installCommands ? [] , users ? {} # autounattend always installs index 1, so this default is backward-compatible -, imageSelection ? "Windows 10 Pro" +, imageSelection ? "Windows 11 Pro N" , efi ? true , ... }@attrs: @@ -36,9 +36,9 @@ let ); windowsIso = if windowsImage != null then windowsImage else pkgs.requireFile rec { - name = "Win10_21H2_English_x64.iso"; - sha256 = "0kr3m0bjy086whcbssagsshdxj6lffcz7wmvbh50zhrkxgq3hrbz"; - message = "Get ${name} from https://www.microsoft.com/en-us/software-download/windows10ISO"; + name = "Win11_22H2_English_x64v1.iso"; + sha256 = "08mbppsm1naf73z8fjyqkf975nbls7xj9n4fq0yp802dv1rz3whd"; + message = "Get disk image ${name} from https://www.microsoft.com/en-us/software-download/windows11/"; }; virtioWinIso = pkgs.fetchurl {