Some more progress. Mounts are now autogenerated as .mount in the initrd. This allows for fine grained dependencies and thus parallelism. In addition, "auto" file systems are being automatically probed with blkid like the old stage-1.sh did, except also in parallel. Probing involves creating a /run/systemd/system/foo.mount.d/fsprobe.conf override with Type= [1]. After all probes have completed, systemd is reloaded to read the new .mount Type and "auto" file systems can be mounted.
I've added additional fileSystems options: mountBefore and mountAfter, to specify before and after mountpoints. It's also possible to specify services with fileSystems.<mountpoint>.systemdConfig, not usually needed though. An example of mountAfter usage can be found here[2]. After those big changes, the simple installer seems to run fine. Next step is to port crypto devices. Best regards, [1] https://github.com/lethalman/nixpkgs/blob/systemd/nixos/modules/system/boot/systemd-fsprobe.sh [2] https://github.com/lethalman/nixpkgs/blob/systemd/nixos/modules/installer/cd-dvd/iso-image.nix#L197
_______________________________________________ nix-dev mailing list [email protected] http://lists.science.uu.nl/mailman/listinfo/nix-dev
