diff --git a/machines/laptop/local.nix b/machines/laptop/local.nix index f104189..c1669ae 100644 --- a/machines/laptop/local.nix +++ b/machines/laptop/local.nix @@ -19,5 +19,13 @@ 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"; }