From 679d5e8bd5089b6c824a8d0d3d541c3a142460f7 Mon Sep 17 00:00:00 2001 From: Izorkin Date: Mon, 11 Jun 2018 16:44:54 +0300 Subject: [PATCH] samba: fix autostart service --- nixos/modules/services/network-filesystems/samba.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/nixos/modules/services/network-filesystems/samba.nix b/nixos/modules/services/network-filesystems/samba.nix index b23266e8d43a..7dcd3e2e410d 100644 --- a/nixos/modules/services/network-filesystems/samba.nix +++ b/nixos/modules/services/network-filesystems/samba.nix @@ -45,6 +45,7 @@ let daemonService = appName: args: { description = "Samba Service Daemon ${appName}"; + after = [ "network.target" ]; requiredBy = [ "samba.target" ]; partOf = [ "samba.target" ];