nixos/samba: add documentation to systemd.services

This commit is contained in:
Anthony Roussel 2024-04-09 10:26:28 +02:00 committed by Pascal Bach
parent 7a3bba220d
commit 3f0b4964c3

View File

@ -15,6 +15,7 @@ let
daemonService = appName: args:
{ description = "Samba Service Daemon ${appName}";
documentation = [ "man:${appName}(8)" "man:samba(7)" "man:smb.conf(5)" ];
after = [ (mkIf (cfg.nmbd.enable && "${appName}" == "smbd") "samba-nmbd.service") "network.target" ];
requiredBy = [ "samba.target" ];