about summary refs log tree commit diff
path: root/pkgs
diff options
context:
space:
mode:
authorKristoffer Søholm <k.soeholm@gmail.com>2017-03-20 14:28:02 +0100
committerFranz Pletz <fpletz@fnordicwalking.de>2017-03-20 14:28:02 +0100
commitf9e8ef7e6d8b9df759a9cb6f7a1c3218684331ee (patch)
tree3ba8f4b50f865a594924c6a9dd83eb14aea3a74a /pkgs
parent1f0ce0eaf8ca840e769615acc7581bd71268ca44 (diff)
downloadnixlib-f9e8ef7e6d8b9df759a9cb6f7a1c3218684331ee.tar
nixlib-f9e8ef7e6d8b9df759a9cb6f7a1c3218684331ee.tar.gz
nixlib-f9e8ef7e6d8b9df759a9cb6f7a1c3218684331ee.tar.bz2
nixlib-f9e8ef7e6d8b9df759a9cb6f7a1c3218684331ee.tar.lz
nixlib-f9e8ef7e6d8b9df759a9cb6f7a1c3218684331ee.tar.xz
nixlib-f9e8ef7e6d8b9df759a9cb6f7a1c3218684331ee.tar.zst
nixlib-f9e8ef7e6d8b9df759a9cb6f7a1c3218684331ee.zip
nixos/bluetooth: add extraConfig option (#23427)
Diffstat (limited to 'pkgs')
-rw-r--r--pkgs/os-specific/linux/bluez/bluez5.nix4
1 files changed, 4 insertions, 0 deletions
diff --git a/pkgs/os-specific/linux/bluez/bluez5.nix b/pkgs/os-specific/linux/bluez/bluez5.nix
index 6185e22fb875..9149f6da033b 100644
--- a/pkgs/os-specific/linux/bluez/bluez5.nix
+++ b/pkgs/os-specific/linux/bluez/bluez5.nix
@@ -73,6 +73,10 @@ stdenv.mkDerivation rec {
     mkdir $out/sbin
     ln -s ../libexec/bluetooth/bluetoothd $out/sbin/bluetoothd
     ln -s ../libexec/bluetooth/obexd $out/sbin/obexd
+
+    # Add extra configuration
+    mkdir $out/etc/bluetooth
+    ln -s /etc/bluetooth/main.conf $out/etc/bluetooth/main.conf
   '';
 
   enableParallelBuilding = true;