anchor.diff:  
             Set to false to monitor the devices listed in
             <option>services.smartd.devices</option> only.
  +        '';
  +      };
  +
  +      extraOptions = mkOption {
  +        default = [];
  +        type = types.listOf types.str;
  +        example = ["-A /var/log/smartd/" "--interval=3600"];
  +        description = ''
  +          Extra command-line options passed to the <literal>smartd</literal>
  +          daemon on startup.
  +
  +          (See <literal>man 8 smartd</literal>.)
           '';
         };
   
  
positive.code:       devices = mkOption {
          default = [];
          example = [ { device = "/dev/sda"; } { device = "/dev/sdb"; options = "-d sat"; } ];
          type = with types; listOf (submodule smartdOpts);
          description = "List of devices to monitor.";
        };
  
  
negative.code: 
        path = [ pkgs.nettools ]; # for hostname and dnsdomanname calls in smartd
  
        serviceConfig.ExecStart = "${pkgs.smartmontools}/sbin/smartd ${lib.concatStringsSep " " cfg.extraOptions} --no-fork --configfile=${smartdConf}";
      };
  
    };
  