Enable the thunderbolt service.
This commit is contained in:
@@ -21,5 +21,18 @@
|
|||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
bolt # For boltctl
|
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";
|
||||||
|
# })
|
||||||
|
# ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user