From 600bb0b277cad87a6729f43f2b45c048de8675a3 Mon Sep 17 00:00:00 2001 From: Benedikt Peetz Date: Thu, 9 May 2024 21:36:17 +0200 Subject: fix(sys/hardware): Enable the nitrokey udev rules --- sys/hardware/default.nix | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) (limited to 'sys/hardware/default.nix') 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" -- cgit 1.4.1