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"; + # }) + # ]; }; }