From 6094fee196ad3d839f47bd68e5ad3346d1e1213c Mon Sep 17 00:00:00 2001 From: Tom Alexander Date: Wed, 17 Jun 2026 13:08:11 -0400 Subject: [PATCH] Enable the thunderbolt service. --- nix/configuration/roles/thunderbolt/default.nix | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/nix/configuration/roles/thunderbolt/default.nix b/nix/configuration/roles/thunderbolt/default.nix index 0368ada..ceecf3a 100644 --- a/nix/configuration/roles/thunderbolt/default.nix +++ b/nix/configuration/roles/thunderbolt/default.nix @@ -21,5 +21,18 @@ environment.systemPackages = with pkgs; [ bolt # For boltctl ]; + + services.hardware.bolt.enable = true; + + # Trust all thunderbolt devices + # services.udev.packages = [ + # (pkgs.writeTextFile { + # name = "removable"; + # text = '' + # ACTION=="add", SUBSYSTEM=="thunderbolt", ATTR{authorized}=="0", ATTR{authorized}="1" + # ''; + # destination = "/etc/udev/rules.d/99-removable.rules"; + # }) + # ]; }; }