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