From 8fd332dcc4367bf3084ff9eb8ecb0c4c54800539 Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Tue, 26 Jan 2021 20:27:58 -0500 Subject: [PATCH] Add nofail option to zfs filesystems So they don't prevent startup when zfs fails to mount non-essential drives, like it currently does with 2.0.1 for some reason. --- hosts/kuro/hardware-configuration.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/hosts/kuro/hardware-configuration.nix b/hosts/kuro/hardware-configuration.nix index 0453a360..e0f8702a 100644 --- a/hosts/kuro/hardware-configuration.nix +++ b/hosts/kuro/hardware-configuration.nix @@ -67,18 +67,22 @@ "/usr/backup" = { device = "usr/backup"; fsType = "zfs"; + options = [ "nofail" ]; }; "/usr/media" = { device = "usr/media"; fsType = "zfs"; + options = [ "nofail" ]; }; "/usr/local" = { device = "usr/local"; fsType = "zfs"; + options = [ "nofail" ]; }; "/usr/share" = { device = "usr/share"; fsType = "zfs"; + options = [ "nofail" ]; }; }; swapDevices = [];