summary refs log tree commit diff
path: root/nixos/modules/services/hardware/xow.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nixos/modules/services/hardware/xow.nix')
-rw-r--r--nixos/modules/services/hardware/xow.nix3
1 files changed, 3 insertions, 0 deletions
diff --git a/nixos/modules/services/hardware/xow.nix b/nixos/modules/services/hardware/xow.nix
index a18d60ad83b..311181176bd 100644
--- a/nixos/modules/services/hardware/xow.nix
+++ b/nixos/modules/services/hardware/xow.nix
@@ -10,7 +10,10 @@ in {
   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 ];
   };