mirror of
https://gitlab.com/ahoneybun/nix-configs.git
synced 2025-05-12 11:14:02 -06:00
Add udev rules for drack (X13s)
This commit is contained in:
parent
00e24c0343
commit
092d15be68
1 changed files with 7 additions and 0 deletions
|
@ -15,4 +15,11 @@
|
|||
|
||||
networking.hostName = "drack";
|
||||
|
||||
services.udev.extraRules = ''
|
||||
# Enable touchscreen on X13s
|
||||
ACTION=="add", SUBSYSTEM=="drivers", KERNEL=="i2c_hid_of", ATTR{bind}="4-0010"
|
||||
# Set wifi MAC on X13s
|
||||
SUBSYSTEM=="net", ACTION=="add", ATTRS{vendor}=="0x17cb", ATTRS{device}=="0x1103", PROGRAM="/usr/share/ubuntu-x13s-settings/set-wifi-mac-addr %k"
|
||||
'';
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue