dustbowl: bluetoothd: use config file instead of command-line flag

for specifying experimental interface enabling
This commit is contained in:
joachimschmidt557 2022-11-06 22:38:38 +01:00
parent cc4090d213
commit 0b224a5882
No known key found for this signature in database
GPG key ID: E0B575BE2884ACC5

View file

@ -156,7 +156,6 @@
yubico-pam yubico-pam
nmap nmap
bind.dnsutils bind.dnsutils
openrgb
gdb gdb
intel-gpu-tools intel-gpu-tools
config.boot.kernelPackages.perf config.boot.kernelPackages.perf
@ -192,6 +191,7 @@
libreoffice libreoffice
okular okular
ungoogled-chromium ungoogled-chromium
openrgb
]; ];
# Use doas instead of sudo # Use doas instead of sudo
@ -296,12 +296,12 @@
sound.enable = true; sound.enable = true;
# Bluetooth # Bluetooth
hardware.bluetooth.enable = true; hardware.bluetooth = {
enable = true;
# Enable experimental features in bluetoothd with -E flag settings = {
systemd.services.bluetooth.serviceConfig.ExecStart = General.Experimental = true;
let args = [ "-f" "/etc/bluetooth/main.conf" "-E" ]; };
in lib.mkForce [ "" "${config.hardware.bluetooth.package}/libexec/bluetooth/bluetoothd ${lib.escapeShellArgs args}" ]; };
# UPower # UPower
services.upower.enable = true; services.upower.enable = true;