summary refs log tree commit diff
path: root/nixos/modules/rename.nix
diff options
context:
space:
mode:
authorFlorian Klink <flokli@flokli.de>2020-06-14 15:12:23 +0200
committerFlorian Klink <flokli@flokli.de>2020-06-14 15:13:31 +0200
commit89c3e73dad0970b26183e415555fb0379ba33e7a (patch)
tree94d7d2b47bd791243ae9e93ad7c43643fc0500ce /nixos/modules/rename.nix
parentc92b33df884be886ecdff697ec36b4c39cc4cfdf (diff)
downloadnixpkgs-89c3e73dad0970b26183e415555fb0379ba33e7a.tar
nixpkgs-89c3e73dad0970b26183e415555fb0379ba33e7a.tar.gz
nixpkgs-89c3e73dad0970b26183e415555fb0379ba33e7a.tar.bz2
nixpkgs-89c3e73dad0970b26183e415555fb0379ba33e7a.tar.lz
nixpkgs-89c3e73dad0970b26183e415555fb0379ba33e7a.tar.xz
nixpkgs-89c3e73dad0970b26183e415555fb0379ba33e7a.tar.zst
nixpkgs-89c3e73dad0970b26183e415555fb0379ba33e7a.zip
hardware/u2f: remove module
udev gained native support to handle FIDO security tokens, so we don't
need a module which only added the now obsolete udev rules.

Fixes: https://github.com/NixOS/nixpkgs/issues/76482
Diffstat (limited to 'nixos/modules/rename.nix')
-rw-r--r--nixos/modules/rename.nix6
1 files changed, 6 insertions, 0 deletions
diff --git a/nixos/modules/rename.nix b/nixos/modules/rename.nix
index c91febdb710..1dc7f853317 100644
--- a/nixos/modules/rename.nix
+++ b/nixos/modules/rename.nix
@@ -55,6 +55,12 @@ with lib;
       prey-bash-client is deprecated upstream
     '')
 
+    (mkRemovedOptionModule ["hardware" "u2f" ] ''
+      The U2F modules module was removed, as all it did was adding the
+      udev rules from libu2f-host to the system. Udev gained native support
+      to handle FIDO security tokens, so this isn't necessary anymore.
+    '')
+
     # Do NOT add any option renames here, see top of the file
   ];
 }