From 317827fa77cb90b15d4947a977bdfe73b24a4efb Mon Sep 17 00:00:00 2001 From: Simone Camito Date: Fri, 31 Jan 2025 14:55:35 +0100 Subject: [PATCH 1/2] remove absolute path --- src/services/bluetooth/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/services/bluetooth/mod.rs b/src/services/bluetooth/mod.rs index f654971..556c865 100644 --- a/src/services/bluetooth/mod.rs +++ b/src/services/bluetooth/mod.rs @@ -179,7 +179,7 @@ impl BluetoothService { } pub async fn check_rfkill_soft_block() -> anyhow::Result { - let output = Command::new("/usr/sbin/rfkill") + let output = Command::new("rfkill") .arg("list") .arg("bluetooth") .output() From e8ffb9de49a56c76c482de3fae2a873f9e8de150 Mon Sep 17 00:00:00 2001 From: Simone Camito Date: Sat, 1 Feb 2025 15:37:46 +0100 Subject: [PATCH 2/2] upd changelog --- CHANGELOG.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 9ead690..6f618d8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -11,6 +11,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Media player module +### Fixed + +- Fix bluetooth service in NixOS systems + ## [0.4.0] - 2025-01-19 A big update with new features and new configurations!