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
commit0671b405773e5c08dc1c19a64ff88f9127f0e556 (patch)
tree5d40a81015790978b19a6a92ff8d5a578cf9cbeb
parent9c9de61b08b6927453837ce7745450a7bd991322 (diff)
ma omo.r: add nofail to disk
-rw-r--r--1systems/omo/config.nix5
1 files changed, 4 insertions, 1 deletions
diff --git a/1systems/omo/config.nix b/1systems/omo/config.nix
index aaecebadc..ce3ffbcf3 100644
--- a/1systems/omo/config.nix
+++ b/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"
[cgit] Unable to lock slot /tmp/cgit/c9100000.lock: No such file or directory (2)