mirror of
https://github.com/Username404-59/Dotfiles-NixOS.git
synced 2026-07-03 12:58:07 +02:00
Thunderbolt automatic authorization + nvidia drivers for my laptop
This commit is contained in:
parent
0d6984b792
commit
ffa9bd8c07
@ -19,5 +19,13 @@
|
|||||||
|
|
||||||
services.upower.enable = true;
|
services.upower.enable = true;
|
||||||
|
|
||||||
|
# Thunderbolt automatic authorization etc
|
||||||
|
services.udev.extraRules = ''
|
||||||
|
ACTION=="add", SUBSYSTEM=="thunderbolt", ATTR{authorized}=="0", ATTR{authorized}="1"
|
||||||
|
'';
|
||||||
|
|
||||||
|
# NVIDIA drivers
|
||||||
|
services.xserver.videoDrivers = [ "nvidia" ];
|
||||||
|
|
||||||
networking.hostName = "lizard-portable";
|
networking.hostName = "lizard-portable";
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user