nixpkgs/modules/system/boot
Mathijs Kwik 16a9bcfe81 add support for systemd mount units
This is mainly useful for specifying mounts that depend on other
units. For example sshfs or davfs need network (and possibly
nameservices).

While systemd makes a distinction between local and remote
filesystems, this only works for in-kernel filesystems such as
nfs and cifs.

fuse-based filesystems (such as sshfs and davs) are classified as
local, so they fail without networking. By explicitly declaring these
mounts as full systemd units (as opposed to having systemd generate
them automatically from /etc/fstab), dependencies can be specified as
on every other unit.

In the future, we can probably port NixOS' filesystems handling to use
these native systemd.mount units and skip /etc/fstab altogether, but
this probably requires additional changes, such as starting systemd
even earlier during boot (stage 1).
2013-01-01 13:55:48 +01:00
..
loader Merge remote-tracking branch 'upstream/master' into systemd 2012-12-17 13:03:56 -05:00
kernel.nix Remove last mention of aufs for completeness 2012-12-16 13:33:23 -05:00
luksroot.nix LUKS root: Fix key file check 2012-08-02 11:39:31 +02:00
modprobe.nix systemd: Use the kernel modules from /run/booted-system 2012-08-14 17:09:44 -04:00
shutdown.nix Fix a hang during shutdown 2012-08-14 16:45:50 -04:00
stage-1-init.sh iso-image: Use unionfs-fuse instead of aufs 2012-12-16 11:31:52 -05:00
stage-1.nix Turn fileSystems into an attribute set 2012-11-02 18:02:12 +01:00
stage-2-init.sh Remove outdated comment about EC2 booting into stage-2 directly 2012-11-02 17:07:53 +01:00
stage-2.nix Set uniqueness constraint on boot.devShmSize etc. 2012-10-23 07:50:23 -04:00
systemd-unit-options.nix add support for systemd mount units 2013-01-01 13:55:48 +01:00
systemd.nix add support for systemd mount units 2013-01-01 13:55:48 +01:00