feat: add i2c kernel support
This commit is contained in:
parent
37bd21ab3c
commit
67191bf2d9
1 changed files with 3 additions and 1 deletions
|
|
@ -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"
|
||||
'';
|
||||
};
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue