anchor.diff:        type = types.str;
         description = "Locker command to run.";
         example = "\${pkgs.i3lock}/bin/i3lock -n -c 000000";
  +    };
  +
  +    enableDetectSleep = mkOption {
  +      type = types.bool;
  +      default = true;
  +      description = ''
  +        Whether to reset timers when awaking from sleep.
  +      '';
       };
   
       inactiveInterval = mkOption {
  
positive.code:       Service = {
          ExecStart = concatStringsSep " " ([
            "${pkgs.xautolock}/bin/xautolock"
            "-detectsleep"
            "-time ${toString cfg.inactiveInterval}"
            "-locker '${pkgs.systemd}/bin/loginctl lock-session $XDG_SESSION_ID'"
          ] ++ cfg.xautolockExtraOptions);
        };
      };
  
  
negative.code:         Extra command-line arguments to pass to <command>xss-lock</command>.
        '';
      };
    };
  
    config = mkIf cfg.enable {
  