fix bluetooth mac service

This commit is contained in:
Adam Stephens 2024-05-15 00:03:41 -04:00
parent 39105d4fa7
commit 87a35b80a6
No known key found for this signature in database

View file

@ -127,8 +127,7 @@ in
serviceConfig = {
Type = "oneshot";
RemainAfterExit = true;
StandardInput = "tty";
ExecStart = "${pkgs.bluez5-experimental}/bin/btmgmt public-addr ${cfg.bluetoothMac}";
ExecStart = "${pkgs.util-linux}/bin/script -q -c '${pkgs.bluez}/bin/btmgmt --index 0 public-addr ${cfg.bluetoothMac}'";
};
};
};