3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/nixos/modules/installer/cd-dvd
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
..
channel.nix nixos/modules/installer/cd-dvd/channel.nix: Handle null config.system.nixos.revision 2020-02-15 20:16:14 +01:00
installation-cd-base.nix installation-cd-base.nix: Add 'live.nixos.passwd' boot option 2021-07-03 09:53:16 +02:00
installation-cd-graphical-base.nix installation-cd-graphical-base.nix: adding git (#79098) 2020-02-14 18:52:18 +02:00
installation-cd-graphical-gnome.nix gnome: rename from gnome3 2021-05-08 09:47:42 +02:00
installation-cd-graphical-plasma5-new-kernel.nix
installation-cd-graphical-plasma5.nix nixos/displayManager: make autoLogin options independent of DM type 2020-07-09 21:15:35 -04:00
installation-cd-minimal-new-kernel.nix
installation-cd-minimal.nix Revert "Revert "iso-image: normalize volumeID"" 2020-04-09 20:06:32 -04:00
iso-image.nix nixos/installer: force root fs type 2021-07-28 15:05:25 -05:00
sd-image-aarch64-new-kernel.nix installer: add deprecation warning about sd-card file move 2021-02-19 19:00:19 -05:00
sd-image-aarch64.nix installer: add deprecation warning about sd-card file move 2021-02-19 19:00:19 -05:00
sd-image-armv7l-multiplatform.nix installer: add deprecation warning about sd-card file move 2021-02-19 19:00:19 -05:00
sd-image-raspberrypi.nix installer: add deprecation warning about sd-card file move 2021-02-19 19:00:19 -05:00
sd-image.nix installer: add deprecation warning about sd-card file move 2021-02-19 19:00:19 -05:00
system-tarball-fuloong2f.nix nixos: Get rid of systemConfig kernel parameter 2021-02-18 12:48:08 +01:00
system-tarball-pc-readme.txt nixos/*: editorconfig fixes 2020-08-08 10:54:16 +10:00
system-tarball-pc.nix nixos: Get rid of systemConfig kernel parameter 2021-02-18 12:48:08 +01:00
system-tarball-sheevaplug.nix nixos/getty: rename from services.mingetty 2021-01-05 09:09:42 +00:00
system-tarball.nix