nixos: gen 70 @ lilac — 2026-09-22 16:23 26.05.20260918.cf9d2fb (Yarara) -----
This commit is contained in:
@@ -23,7 +23,7 @@
|
||||
|
||||
system.stateVersion = "26.05";
|
||||
|
||||
boot.kernelModules = [ "thunderbolt-net" ];
|
||||
boot.kernelModules = [ "bnep" ];
|
||||
|
||||
networking.interfaces.bnep0.ipv4.addresses = [{
|
||||
address = "10.0.0.2";
|
||||
@@ -41,7 +41,7 @@
|
||||
serviceConfig = {
|
||||
# Replace XX:XX:XX:XX:XX:XX with Device B's actual Bluetooth MAC Address
|
||||
ExecStartPre = "${pkgs.bluez}/bin/bluetoothctl trust 84:D1:C1:A9:EE:52";
|
||||
ExecStart = "${pkgs.bluez-tools}/bin/bt-network -c 84:D1:C1:A9:EE:52 gn";
|
||||
ExecStart = "${pkgs.bluez-tools}/bin/bt-network -c 84:D1:C1:A9:EE:52 bnep";
|
||||
Restart = "always";
|
||||
RestartSec = 10; # Retry every 10 seconds if Device B goes out of range
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user