<commit_before>{ config, pkgs, lib, ... }:

let
  cfg = config.services.hardware.xow;
in {
  options.services.hardware.xow = {
    enable = lib.mkEnableOption "xow as a systemd service";
  };

  config = lib.mkIf cfg.enable {
    hardware.uinput.enable = true;

    systemd.packages = [ pkgs.xow ];

    services.udev.packages = [ pkgs.xow ];
  };
}<commit_msg>xow: fix service<commit_after>{ config, pkgs, lib, ... }:

let
  cfg = config.services.hardware.xow;
in {
  options.services.hardware.xow = {
    enable = lib.mkEnableOption "xow as a systemd service";
  };

  config = lib.mkIf cfg.enable {
    hardware.uinput.enable = true;

    boot.extraModprobeConfig = lib.readFile "${pkgs.xow}/lib/modprobe.d/xow-blacklist.conf";

    systemd.packages = [ pkgs.xow ];
    systemd.services.xow.wantedBy = [ "multi-user.target" ];

    services.udev.packages = [ pkgs.xow ];
  };
}
{'fraction_non_alphanumeric': 0.15454545454545454, 'fraction_numerical': 0.0, 'mean_word_length': 3.0228310502283104, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2351895', 'n_tokens_mistral': 336, 'n_tokens_neox': 322, 'n_words': 57}