commit | 684ed13cc4a5c0e8e40eba12dc8eb516d0f31894 | [log] [tgz] |
---|---|---|
author | Skyler Grey <skyler3665@gmail.com> | Sun Mar 26 10:45:48 2023 +0000 |
committer | Skyler Grey <skyler3665@gmail.com> | Sun Mar 26 10:45:48 2023 +0000 |
tree | 5877687df1931c7690cee24599df98d687af4745 | |
parent | 81dd90e8878e453cd9e4c3a196fbdf0615ce6cff [diff] |
Make my headset reconnect on login
diff --git a/modules/bluetooth.nix b/modules/bluetooth.nix index 33c1406..8bdf802 100644 --- a/modules/bluetooth.nix +++ b/modules/bluetooth.nix
@@ -6,4 +6,10 @@ }; environment.persistence."/nix/persist".directories = [ "/var/lib/bluetooth" ]; }; + home = { + home.file.".config/prelaunch/bluetooth-reconnect.sh".text = '' + bluetoothctl connect E8:EE:CC:04:84:5F + ''; + home.file.".config/prelaunch/bluetooth-reconnect.sh".executable = true; + }; }