summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormakefu <github@syntax-fehler.de>2018-01-06 20:51:58 +0100
committermakefu <github@syntax-fehler.de>2018-01-06 20:51:58 +0100
commit9cf88110a69b7f3902d29e9f252a0b40d2bc5f9f (patch)
treeea116ee493d8afabb718e1b159cc1185db3922c5
parent72d8ea37cc19a0d09dedef55d540c6b06ebcdbd1 (diff)
ma omo.r: add nofail to disk
-rw-r--r--makefu/1systems/omo/config.nix5
1 files changed, 4 insertions, 1 deletions
diff --git a/makefu/1systems/omo/config.nix b/makefu/1systems/omo/config.nix
index aaecebadc..ce3ffbcf3 100644
--- a/makefu/1systems/omo/config.nix
+++ b/makefu/1systems/omo/config.nix
@@ -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"