nixpkgs/nixos/modules/installer
David Arnold 2af2d3146d
nixos/boot-media: soft-force entire fs layout
https://github.com/NixOS/nixpkgs/pull/131760 was made to avo
a speicific configuration conflict that errored out for multiple definitions of "/" when the installer where overlayed
on any existing host configuration.

---

Problem 1: It turns out that in also other mountpoints can coflict.

Solution 1: use `mkOverride 60` for all mountpoints (even for the ones unlikely causing confilct for consistency sake)

---

Problem 2: It turns out that on an installation media for a fresh machine (before formatting), we usually don't have any devices yet formatted. However defining for example `fileSystems.<nme>.device = "/dev/disk/by-label/...", in newer versions of nixos, seems to make the system startup fail. Similarily waiting for a non-existent swap device does not make the startup fail, but has a 1:30 min timeout.

Solution 2: For an installation medium, soft-override ("unless users know what they are doing") the entire `fileSystems` and `swapDevices` definitions.
2021-08-03 15:05:52 -05:00
..
cd-dvd nixos/boot-media: soft-force entire fs layout 2021-08-03 15:05:52 -05:00
netboot nixos/boot-media: soft-force entire fs layout 2021-08-03 15:05:52 -05:00
scan [bot] nixos/*: remove unused arguments in lambdas 2018-07-20 20:56:59 +00:00
sd-card nixos/sdcard: make firmware partition offset configurable 2021-06-25 22:33:42 +02:00
tools nix-fallback-paths.nix: Update to 2.3.15 2021-07-28 22:45:33 +02:00
virtualbox-demo.nix gnome: rename from gnome3 2021-05-08 09:47:42 +02:00