anchor.diff:          '';
         };
   
  +      package = mkOption {
  +        type = types.package;
  +        default = pkgs.opentabletdriver;
  +        defaultText = "pkgs.opentabletdriver";
  +        description = ''
  +          OpenTabletDriver derivation to use.
  +        '';
  +      };
  +
         daemon = {
           enable = mkOption {
             default = true;
  
positive.code:   };
  
    config = mkIf cfg.enable {
      environment.systemPackages = with pkgs; [ opentabletdriver ];
  
      services.udev.packages = with pkgs; [ opentabletdriver ];
  
      boot.blacklistedKernelModules = cfg.blacklistedKernelModules;
  
  
negative.code: 
        serviceConfig = {
          Type = "simple";
          ExecStart = "${cfg.package}/bin/otd-daemon -c ${cfg.package}/lib/OpenTabletDriver/Configurations";
          Restart = "on-failure";
        };
      };
  