anchor.diff:          Type = "notify";
           NotifyAccess = "all"; #may not do anything...
         };
  +      unitConfig.RequiresMountsFor = "/var/lib/samba";
   
         restartTriggers = [ configFile ];
       };
  
positive.code:   cfg = config.services.samba;
  
    samba = cfg.package;
  
    setupScript =
      ''
        mkdir -p /var/lock/samba /var/log/samba /var/cache/samba /var/lib/samba/private
      '';
  
    shareConfig = name:
      let share = getAttr name cfg.shares; in
  
negative.code:         systemd = {
            targets.samba = {
              description = "Samba Server";
              after = [ "network.target" ];
              wantedBy = [ "multi-user.target" ];
            };
            # Refer to https://github.com/samba-team/samba/tree/master/packaging/systemd
  