1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-09-11 15:08:33 +01:00
nixpkgs/nixos/modules
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
..
config Merge pull request #110742 from siraben/deprecate-fold 2021-07-27 15:13:31 +07:00
hardware enableRedistributableFirmware: add rtw89-firmware 2021-08-02 17:23:54 +02:00
i18n/input-method nixos/fcitx5: autostart with xserver 2021-06-05 09:22:58 +08:00
installer nixos/boot-media: soft-force entire fs layout 2021-08-03 15:05:52 -05:00
misc Merge pull request #131948 from flokli/systemd-coredump-user 2021-08-02 16:14:49 +02:00
profiles Merge pull request #85073 from hyperfekt/systemd-pstore 2021-05-17 00:00:52 +02:00
programs nixos/captive-browser: fix startup 2021-08-01 19:04:49 +02:00
security Merge pull request #121750 from m1cr0man/master 2021-07-06 15:10:54 +02:00
services Merge pull request #121829 from davidak/pantheon-team 2021-08-03 10:20:20 +00:00
system Merge pull request #129413 from ngkz/binfmt-order-fix 2021-08-03 12:20:17 +01:00
tasks Merge pull request #131587 from hyperfekt/systemd-pstore 2021-07-27 14:27:15 +02:00
testing
virtualisation nixos/virtualbox-image: cast baseImageFreeSpace into str 2021-08-01 18:59:08 +00:00
module-list.nix Merge pull request #132507 from lovesegfault/roon-bridge-aarch64 2021-08-03 08:13:48 +00:00
rename.nix