diff --git a/modules/smb-mounts.nix b/modules/smb-mounts.nix index a9fa0f8..4698b7c 100644 --- a/modules/smb-mounts.nix +++ b/modules/smb-mounts.nix @@ -87,7 +87,7 @@ in "file_mode=0600" "dir_mode=0700" "credentials=${cfg.credentials}" - "x-systemd.after=network-online.target" + "x-systemd.after=sys-devices-virtual-net-samba\\x2dpatrick.device" ] ++ (optional (!cfg.automatic) "noauto"); in