about summary refs log tree commit diff
path: root/nixos/modules
diff options
context:
space:
mode:
authorWinter <winter@winter.cafe>2022-08-01 18:17:39 -0400
committerGitHub <noreply@github.com>2022-08-01 18:17:39 -0400
commit468c10d8e058934b7e8c36984c6544d8c92a1863 (patch)
tree82caa791bf5a47fff3a662f69e692bf5a6a57f15 /nixos/modules
parentc13ca4324c54a63c3bc73eebe6dfe72d6b6b097d (diff)
parent34a04025cf342d0336e626dd6c613ae40e560b29 (diff)
downloadnixlib-468c10d8e058934b7e8c36984c6544d8c92a1863.tar
nixlib-468c10d8e058934b7e8c36984c6544d8c92a1863.tar.gz
nixlib-468c10d8e058934b7e8c36984c6544d8c92a1863.tar.bz2
nixlib-468c10d8e058934b7e8c36984c6544d8c92a1863.tar.lz
nixlib-468c10d8e058934b7e8c36984c6544d8c92a1863.tar.xz
nixlib-468c10d8e058934b7e8c36984c6544d8c92a1863.tar.zst
nixlib-468c10d8e058934b7e8c36984c6544d8c92a1863.zip
Merge pull request #183039 from jansol/master
Diffstat (limited to 'nixos/modules')
-rw-r--r--nixos/modules/module-list.nix1
-rw-r--r--nixos/modules/rename.nix4
-rw-r--r--nixos/modules/services/hardware/xow.nix20
3 files changed, 4 insertions, 21 deletions
diff --git a/nixos/modules/module-list.nix b/nixos/modules/module-list.nix
index d961e2f683bd..616f357663ca 100644
--- a/nixos/modules/module-list.nix
+++ b/nixos/modules/module-list.nix
@@ -475,7 +475,6 @@
   ./services/hardware/thermald.nix
   ./services/hardware/undervolt.nix
   ./services/hardware/vdr.nix
-  ./services/hardware/xow.nix
   ./services/home-automation/home-assistant.nix
   ./services/home-automation/zigbee2mqtt.nix
   ./services/logging/SystemdJournal2Gelf.nix
diff --git a/nixos/modules/rename.nix b/nixos/modules/rename.nix
index 22fcb72e9ff4..f86aa2fa5c1b 100644
--- a/nixos/modules/rename.nix
+++ b/nixos/modules/rename.nix
@@ -30,6 +30,10 @@ with lib;
       udev rules from libu2f-host to the system. Udev gained native support
       to handle FIDO security tokens, so this isn't necessary anymore.
     '')
+    (mkRemovedOptionModule [ "hardware" "xow" ] ''
+      The xow package was removed from nixpkgs. Upstream has deprecated
+      the project and users are urged to switch to xone.
+    '')
     (mkRemovedOptionModule [ "networking" "vpnc" ] "Use environment.etc.\"vpnc/service.conf\" instead.")
     (mkRemovedOptionModule [ "networking" "wicd" ] "The corresponding package was removed from nixpkgs.")
     (mkRemovedOptionModule [ "programs" "tilp2" ] "The corresponding package was removed from nixpkgs.")
diff --git a/nixos/modules/services/hardware/xow.nix b/nixos/modules/services/hardware/xow.nix
deleted file mode 100644
index 311181176bd8..000000000000
--- a/nixos/modules/services/hardware/xow.nix
+++ /dev/null
@@ -1,20 +0,0 @@
-{ 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 ];
-  };
-}