nixos/samba: fix autostart service

This commit is contained in:
Izorkin 2019-11-17 15:28:35 +03:00
parent a21cb75242
commit 576fa2688d

View File

@ -40,6 +40,7 @@ let
daemonService = appName: args:
{ description = "Samba Service Daemon ${appName}";
after = [ (mkIf (cfg.enableNmbd && "${appName}" == "smbd") "samba-nmbd.service") ];
requiredBy = [ "samba.target" ];
partOf = [ "samba.target" ];