From e27e6e6102095762b70377879ea12b3d8de59b9b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Thalheim?= Date: Tue, 26 Mar 2024 15:53:13 +0100 Subject: [PATCH] localbackup: also create mountpoints --- clanModules/localbackup.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clanModules/localbackup.nix b/clanModules/localbackup.nix index 740dbe74f..74c81d0d9 100644 --- a/clanModules/localbackup.nix +++ b/clanModules/localbackup.nix @@ -195,7 +195,7 @@ in ${lib.optionalString (target.preMountHook != null) target.preMountHook} ${lib.optionalString (target.mountpoint != null) '' if ! ${pkgs.util-linux}/bin/mountpoint -q ${lib.escapeShellArg target.mountpoint}; then - ${pkgs.util-linux}/bin/mount ${lib.escapeShellArg target.mountpoint} + ${pkgs.util-linux}/bin/mount -o X-mount.mkdir ${lib.escapeShellArg target.mountpoint} fi ''} ${lib.optionalString (target.postMountHook != null) target.postMountHook}