diff options
author | David Arnold <dgx.arnold@gmail.com> | 2021-08-03 14:36:07 -0500 |
---|---|---|
committer | David Arnold <dgx.arnold@gmail.com> | 2021-08-03 15:05:52 -0500 |
commit | 2af2d3146d79866ae65ca1883527daa010669b07 (patch) | |
tree | a86ed30edaf8474e53b623277bd404be73737303 /lib/modules.nix | |
parent | 8ff76e34e075907aa700d44555090b7b45f37d44 (diff) | |
download | nixpkgs-2af2d3146d79866ae65ca1883527daa010669b07.tar nixpkgs-2af2d3146d79866ae65ca1883527daa010669b07.tar.gz nixpkgs-2af2d3146d79866ae65ca1883527daa010669b07.tar.bz2 nixpkgs-2af2d3146d79866ae65ca1883527daa010669b07.tar.lz nixpkgs-2af2d3146d79866ae65ca1883527daa010669b07.tar.xz nixpkgs-2af2d3146d79866ae65ca1883527daa010669b07.tar.zst nixpkgs-2af2d3146d79866ae65ca1883527daa010669b07.zip |
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.
Diffstat (limited to 'lib/modules.nix')
0 files changed, 0 insertions, 0 deletions