1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-19 04:02:10 +00:00
nixpkgs/nixos/modules/installer
David Arnold c219fdffad
nixos/installer: force root fs type
installer media can be used on top of existing host configs. In such
scenarions, root fs types will already be defined.

Before this change, this will inevitably lead to the following error:
```console
error: The option `fileSystems./.fsType' has conflicting definition values:
       - In `/nix/store/2nl5cl4mf6vnldpbxhrbzfh0n8rsv9fm-source/DevOS/os/hardware/common.nix': "ext4"
       - In `/nix/store/jbch90yqx6gg1h3fq30jjj2b6h6jfjgs-source/nixos/modules/installer/cd-dvd/iso-image.nix': "tmpfs"
```

With this patch, the installers will override those values according to
their own local requirement.

Use `mkOverride 60` so that conscientious overriding specially targeted
at the installer, e.g. with `mkForce` is still straight forward.
2021-07-28 15:05:25 -05:00
..
cd-dvd nixos/installer: force root fs type 2021-07-28 15:05:25 -05:00
netboot nixos/installer: force root fs type 2021-07-28 15:05:25 -05:00
scan
sd-card nixos/sdcard: make firmware partition offset configurable 2021-06-25 22:33:42 +02:00
tools nixStable: 2.3.12 -> 2.3.14 2021-07-20 17:06:51 +02:00
virtualbox-demo.nix gnome: rename from gnome3 2021-05-08 09:47:42 +02:00