aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--hosts/arrakis/default.nix7
1 files changed, 3 insertions, 4 deletions
diff --git a/hosts/arrakis/default.nix b/hosts/arrakis/default.nix
index 6bd802b..593cfaf 100644
--- a/hosts/arrakis/default.nix
+++ b/hosts/arrakis/default.nix
@@ -280,10 +280,9 @@
after = [ "zfs-import-data.service" ];
description = "Bind NFS exports to ZFS paths";
script = ''
- ${pkgs.util-linux}/bin/mount --onlyonce /srv/nfs/keepers
- ${pkgs.util-linux}/bin/mount --onlyonce /srv/nfs/movies
- ${pkgs.util-linux}/bin/mount --onlyonce /srv/nfs/tv
- exit 0
+ ${pkgs.util-linux}/bin/mount --onlyonce /srv/nfs/keepers || ${pkgs.coreutils}/bin/true
+ ${pkgs.util-linux}/bin/mount --onlyonce /srv/nfs/movies || ${pkgs.coreutils}/bin/true
+ ${pkgs.util-linux}/bin/mount --onlyonce /srv/nfs/tv || ${pkgs.coreutils}/bin/true
'';
wantedBy = [ "local-fs.target" ];
};