feat: rearrange nix modules

This commit is contained in:
Felix Schröter 2020-03-13 18:45:29 +01:00 committed by Felix Schroeter
parent 572d1d43c0
commit 89f6ab94b4
17 changed files with 28 additions and 28 deletions

9
hardware/ledger.nix Normal file
View file

@ -0,0 +1,9 @@
{ config, pkgs, ... }:
{
hardware.ledger.enable = true;
services.udev.extraRules = ''
# Nano S
SUBSYSTEMS=="usb", ATTRS{idVendor}=="2c97", ATTRS{idProduct}=="0001|1000|1001|1002|1003|1004|1005|1006|1007|1008|1009|100a|100b|100c|100d|100e|100f|1010|1011|1012|1013|1014|1015|1016|1017|1018|1019|101a|101b|101c|101d|101e|101f", TAG+="uaccess", TAG+="udev-acl"
'';
}