From ffa9bd8c079e89638d467448fc9d6c8a2b9beb45 Mon Sep 17 00:00:00 2001 From: Username404-59 Date: Fri, 3 Jul 2026 06:07:35 +0200 Subject: [PATCH] Thunderbolt automatic authorization + nvidia drivers for my laptop --- machines/laptop/local.nix | 8 ++++++++ 1 file changed, 8 insertions(+) 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"; }