Commit Graph

49 Commits

Author SHA1 Message Date
mwojcik db47903846 fix after deleting default.nix from wfvm 2022-03-14 15:50:13 +08:00
mwojcik 53de3429e3 remove unnecessary nix files 2022-03-14 15:23:28 +08:00
mwojcik ebbcf84c4b * install first image instead by name
* update vs_community sha256
* move bundle from flake to win
2022-03-14 15:22:59 +08:00
mwojcik 94ca43da4b flake: fix passing additional args to makeWindowsImage 2022-02-22 11:27:28 +08:00
mwojcik dc36fd61d2 downgrade nixpkgs, cleanup 2022-02-21 16:53:52 +08:00
mwojcik 2dc90870b8 flakes: restore previous hierarchy 2022-02-21 12:58:24 +08:00
mwojcik da2102d504 flake: export layers, update make_msys_packages for flakes 2022-02-18 14:36:29 +08:00
mwojcik a76b223b0b flake: update win10 iso, vs community sha256 2022-02-18 11:21:28 +08:00
mwojcik 0e53281c09 flake: slight cleanup of redundant code 2022-02-17 17:24:36 +08:00
mwojcik 35dea5d8a6 flake: clean up files, fix errors 2022-02-17 16:49:36 +08:00
mwojcik ced84432cd flake: move autounnatend, move files out from wfvm 2022-02-17 16:07:06 +08:00
mwojcik 0c8cca406a flake: first implementation 2022-02-16 16:34:11 +08:00
Astro 9d07da799c Merge remote-tracking branch 'origin/master' 2021-12-17 20:33:52 +01:00
Sebastien Bourdeauducq a4fe5f0475 update visual studio garbage 2021-11-14 20:15:26 +08:00
Sebastien Bourdeauducq c7d9060eee vs: update 2021-09-09 20:48:48 +08:00
Astro 50471a28f8 Merge upstream 2021-09-09 00:46:43 +02:00
Astro db995f7d77 layers: add disable-scheduled-defrag 2021-09-09 00:46:01 +02:00
Sebastien Bourdeauducq 93796f7a71 vs: update output hash
This is only a temporary solution - the source of the non determinism
should be found and fixed.
2021-09-06 09:14:20 +08:00
Sebastien Bourdeauducq 6d9d9d91f6 update Anaconda 2021-07-05 10:54:24 +08:00
Astro 680d70094f update windowsImage to Windows 10-21H1 2021-06-30 23:55:49 +02:00
Astro a84d2d8d90 utils: replace qemu_test with qemu
qemu_test lacks support for QXL VGA
2021-06-30 23:07:40 +02:00
Astro 520898c1db bundle: fix for newer go version 2021-06-30 21:36:25 +02:00
Astro 11a40de18a utils: fail on sftp errors 2021-06-19 01:15:29 +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 <M-Labs/wfvm#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 54d9f41a6d autounattend: use ForceShutdownNow instead of FirstLogonCommands shutdown
this moves the return a little earlier in the installation process.
it is less of a hack, and less problematic with custom `defaultUser`
settings.
2021-04-18 00:55:01 +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
Astro 4771cee64b layers: add collapseLayers 2021-04-10 23:25:29 +02:00
Astro 78c9363b64 demo-image: use empty installCommands for impureMode 2021-04-10 23:25:29 +02:00
Astro 9f8a1b6e17 layers: add disable-firewall, disable-autosleep, disable-autolock 2021-04-10 23:25:29 +02:00
Markus Partheymüller f1b52c0da7 autounattend: Revert back to driveLetter D 2021-03-10 13:35:49 +01: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 90cc7b14a4 Use q35 and xHCI for more performance 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
Astro c0d09940d7 msys2-auto-install: fetch from commit not branch to avoid hash changes 2021-03-04 15:27:32 +01:00
adisbladis 4b497938ff
Fixup: Use win-exec instead of `win exec` 2020-06-30 10:22:17 +02:00
Sebastien Bourdeauducq 0c0c7d9b2b README: fix typo 2020-06-29 20:54:10 +08: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 9ab221db7f README: expand 2020-06-28 15:50:20 +08:00
Sebastien Bourdeauducq 304a102b61 vs: add explanation about /ResetSettings 2020-06-28 14:34:53 +08:00
Sebastien Bourdeauducq febfa677bf README: add credits 2020-06-28 14:28:15 +08:00
Sebastien Bourdeauducq c445f3868a merge READMEs 2020-06-28 14:25:10 +08:00
Sebastien Bourdeauducq b3515a9192 copy from nix-scripts 2020-06-28 14:23:43 +08:00
Sebastien Bourdeauducq 94d4ede5dd add license 2020-06-28 13:58:23 +08:00
Sebastien Bourdeauducq 5667020f60 add hydra RESTRICTDIST patch 2020-06-28 13:57:46 +08:00
Sebastien Bourdeauducq 61c213c644 add README 2020-06-27 17:55:29 +08:00