Commit Graph

24 Commits (master)

Author SHA1 Message Date
Astro 8051ad647a utils.nix: pass all attrs
Fixes passing baseRtc and other parameters
2023-06-26 15:48:34 +02:00
Astro 7e09796a9b Revert "remove configurable efi flag"
This reverts commit af9218e652.
2023-06-08 18:42:48 +02:00
Astro 3694b0a9f2 windowsIso: 22H2v1 -> 22H2v2 2023-05-26 00:13:21 +02:00
Astro 16e041282f add enableTpm 2023-05-25 15:59:36 +02:00
Astro af9218e652 remove configurable efi flag
Win11 is EFI-only
2023-05-25 15:59:36 +02:00
Astro 598b311215 windowsIso: Win10_21H2 -> Win11_22H2 2023-05-25 15:59:36 +02:00
Astro 79c1685f89 virtioWinIso: 0.1.185-2 -> 0.1.229-1 2023-05-23 21:48:23 +02:00
Astro a6b677f564 wfvm/win: upgrade windowsIso from 21H1 to 21H2 2022-10-13 21:39:33 +02:00
Astro 5ba57fb502 wfvm/win: pass format of backing image to qemu-img
required since qemu 6.1.0
2022-10-12 21:05:39 +02:00
Astro 4f7aef8788 wfvm/win: replace libguestfs with guestfs-tools
tools like virt-make-fs have been split off into a separate package.
2022-10-11 00:10:58 +02:00
Astro 3b87f787a8 s/runCommandNoCC/runCommand/ 2022-10-05 16:46:27 +02:00
Astro b33b71eec7 wfvm/win: lower wimsplit size to 4070 MB for more headroom 2022-10-05 16:07:06 +02:00
Astro 680d70094f update windowsImage to Windows 10-21H1 2021-06-30 23:55:49 +02:00
Astro 110fe11f00 install openssh from github
this removes the need for the windows version's OpenSSH.Server
feature-on-demand package which is not publicly available.

fixes gitea issue #6 <#6>
2021-06-16 15:13:12 +02:00
Astro 07813c3c4f remove wimsplit, do imageSelection by name 2021-06-05 20:43:55 +02:00
Astro ec54c9bf9b install and use virtio drivers
(virtio disk, qxl vga, virtio net)

fixes Gitea issue #7
2021-04-11 10:03:47 +08:00
Markus Partheymüller 0becb115f6 win: Use maximum size to split install.wim 2021-03-10 11:10:09 +01:00
Markus Partheymüller 84ef1ec7e5 win: cdimage naming, closure shrinking 2021-03-10 11:09:49 +01:00
Markus Partheymüller 1357f493bd Add support for legacy installations 2021-03-09 10:48:29 +01:00
Markus Partheymüller e8232ab89a win: Allow for selection specific image
This is useful if the install.wim contains multiple Windows versions
(e.g., Home, Pro, ..), because the autounattend file will always select
index 1. With this mechanism, a variant different from the first one can
be automatically selected. imageSelection can be either an index (1-N)
or the image name wiminfo can list all images contained in a given WIM
file.

The default case is index 1, which has the same effect as before, with
the possibility of having a slightly smaller install.wim file because
all unwanted variants are discarded.
2021-03-09 10:36:56 +01:00
Markus Partheymüller fbd5b97d79 Split install.wim before creating USB image
With newer Windows 10 versions, `install.wim` can become larger than
4GiB, which can't be placed in a FAT32 partition anymore. By splitting
it into chunks with `wimsplit` and removing `install.wim`, the larger
images work fine.
2021-03-09 10:36:56 +01:00
adisbladis 4b497938ff
Fixup: Use win-exec instead of `win exec` 2020-06-30 10:22:17 +02:00
adisbladis 6f546f5e25
Disable password expiry
Since we set RTC in the Nix build it's likely that any passwords have
expired since the image generation RTC time.

Ideally this should be applied in autounattend.xml but it didn't work
out either as FirstLogonCommands or as a command in the specialize pass.
2020-06-29 11:35:48 +02:00
Sebastien Bourdeauducq b3515a9192 copy from nix-scripts 2020-06-28 14:23:43 +08:00