diff --git a/hosts/common/default.nix b/hosts/common/default.nix index d7878d4..199fbb6 100644 --- a/hosts/common/default.nix +++ b/hosts/common/default.nix @@ -34,6 +34,7 @@ }) config.nix.registry; systemPackages = with pkgs; [ ccid + ddcutil epson-escpr epsonscan2 exfat @@ -112,7 +113,8 @@ pkgs.nitrokey-udev-rules ]; extraRules = '' - KERNEL=="i2c-[0-9]*", GROUP="i2c", MODE="0660" + SUBSYSTEM=="i2c-dev", KERNEL=="i2c-[0-9]*", ATTRS{class}=="0x030000", TAG+="uaccess" + SUBSYSTEM=="dri", KERNEL=="card[0-9]*", TAG+="uaccess" ''; }; };