ma omo.r: add nofail to disk

This commit is contained in:
makefu 2018-01-06 20:51:58 +01:00
parent 72d8ea37cc
commit 9cf88110a6
No known key found for this signature in database
GPG Key ID: 36F7711F3FC0F225

View File

@ -143,7 +143,10 @@ in {
];
fileSystems = let
cryptMount = name:
{ "/media/${name}" = { device = "/dev/mapper/${name}"; fsType = "xfs"; };};
{ "/media/${name}" = {
device = "/dev/mapper/${name}"; fsType = "xfs";
options = [ "nofail" ];
};};
in cryptMount "crypt0"
// cryptMount "crypt1"
// cryptMount "crypt2"