From 4b732bcb84305c6cabee167aa07d633a82c008c4 Mon Sep 17 00:00:00 2001 From: Patrick Date: Wed, 7 Aug 2024 17:07:35 +0200 Subject: [PATCH] fix(smb): maybe now autostart works --- modules/smb-mounts.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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