modules/boot: Specify the type for tmpfs mounts

https://github.com/NixOS/nixpkgs/pull/107497 broke booting on many systems that
use tmpOnTmpfs due to the lack of specifying the mount type.

This commit explicitly adds the mount type, which should fix booting
such systems.

The original change may want to be revisited however too.
This commit is contained in:
Danielle Lancashire 2021-01-09 15:32:17 +01:00
parent f78f1b076c
commit ca7b35d2d9
No known key found for this signature in database
GPG key ID: 8D65584EF3DDF91B

View file

@ -34,6 +34,7 @@ with lib;
{
what = "tmpfs";
where = "/tmp";
type = "tmpfs";
mountConfig.Options = [ "mode=1777" "strictatime" "rw" "nosuid" "nodev" "size=50%" ];
}
];