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;
|
}) config.nix.registry;
|
||||||
systemPackages = with pkgs; [
|
systemPackages = with pkgs; [
|
||||||
ccid
|
ccid
|
||||||
|
ddcutil
|
||||||
epson-escpr
|
epson-escpr
|
||||||
epsonscan2
|
epsonscan2
|
||||||
exfat
|
exfat
|
||||||
|
|
@ -112,7 +113,8 @@
|
||||||
pkgs.nitrokey-udev-rules
|
pkgs.nitrokey-udev-rules
|
||||||
];
|
];
|
||||||
extraRules = ''
|
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