From 87a35b80a615939b54bdd2a1786f525ba374aedc Mon Sep 17 00:00:00 2001 From: Adam Stephens Date: Wed, 15 May 2024 00:03:41 -0400 Subject: [PATCH] fix bluetooth mac service --- module.nix | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/module.nix b/module.nix index 976f1ea..3b8c2fe 100644 --- a/module.nix +++ b/module.nix @@ -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}'"; }; }; };