diff options
author | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2024-05-09 21:36:17 +0200 |
---|---|---|
committer | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2024-05-09 21:36:17 +0200 |
commit | 600bb0b277cad87a6729f43f2b45c048de8675a3 (patch) | |
tree | 579ab996b19d58df2a049dbefcbd03f962641a2c /sys/hardware | |
parent | fix(sys/svcs/nix): Use my overlayed nixpkgs in the `n` registry entry (diff) | |
download | nixos-config-600bb0b277cad87a6729f43f2b45c048de8675a3.tar.gz nixos-config-600bb0b277cad87a6729f43f2b45c048de8675a3.zip |
fix(sys/hardware): Enable the nitrokey udev rules
Diffstat (limited to 'sys/hardware')
-rw-r--r-- | sys/hardware/default.nix | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/sys/hardware/default.nix b/sys/hardware/default.nix index 77d3d3f0..28d70d99 100644 --- a/sys/hardware/default.nix +++ b/sys/hardware/default.nix @@ -1,11 +1,9 @@ -{ - config, - pkgs, - ... -}: { +{pkgs, ...}: { hardware = { keyboard.zsa.enable = false; onlykey.enable = true; + nitrokey.enable = true; + opengl = { enable = true; extraPackages = builtins.attrValues { @@ -18,7 +16,7 @@ }; }; services.udev.extraRules = '' - # Rules for Oryx web flashing and live training + # Rules for Oryx web flashing and live training KERNEL=="hidraw*", ATTRS{idVendor}=="16c0", MODE="0664", GROUP="plugdev" KERNEL=="hidraw*", ATTRS{idVendor}=="3297", MODE="0664", GROUP="plugdev" |