anchor.diff:  let
   
     cfg = config.services.autofs;
  +
  +  mount = config.system.sbin.mount;
  +
  +  autoMaster = pkgs.writeText "auto.master" cfg.autoMaster;
   
   in
   
  
positive.code:           };
  
          preStart =
            ''
              modprobe autofs4 || true
            '';
  
          script =
            ''
              ${if cfg.debug then "exec &> /var/log/autofs" else ""}
              ${pkgs.autofs5}/sbin/automount -f -t ${builtins.toString cfg.timeout} ${if cfg.debug then "-d" else ""} "${pkgs.writeText "auto.master" cfg.autoMaster}"
            '';
        };
            
  
negative.code: 
        debug = mkOption {
          default = false;
          description = "
          pass -d and -7 to automount and write log to /var/log/autofs
          ";
        };
  
      };
  
    };
  