configure laptop (thunderbolt, ip, sleep, wol)

This commit is contained in:
Kopatz
2023-11-20 08:56:54 +01:00
parent b584dafa8c
commit 39c1759d6a
9 changed files with 35 additions and 7 deletions

7
modules/thunderbolt.nix Normal file
View File

@@ -0,0 +1,7 @@
{
services.udev.extraRules = ''
# Always authorize thunderbolt connections when they are plugged in.
# This is to make sure the USB hub of Thunderbolt is working.
ACTION=="add", SUBSYSTEM=="thunderbolt", ATTR{authorized}=="0", ATTR{authorized}="1"
'';
}