about summary refs log tree commit diff
path: root/machines
diff options
context:
space:
mode:
authorProfpatsch <mail@profpatsch.de>2020-02-16 03:09:55 +0100
committerProfpatsch <mail@profpatsch.de>2020-02-16 03:09:55 +0100
commit363f289d92f2eec2d0493c3ad91b9753f3a4877c (patch)
tree7265aebfc79aa145870eb4af94d84699dd01bfba /machines
parentbcaeea178c09c6153f1dbd971bdead77ffe81bdc (diff)
machines/profpatsch: set up bluetooth
The wiki article is positively awesome:
https://nixos.wiki/wiki/Bluetooth
Diffstat (limited to 'machines')
-rw-r--r--machines/profpatsch/shiki.nix6
1 files changed, 6 insertions, 0 deletions
diff --git a/machines/profpatsch/shiki.nix b/machines/profpatsch/shiki.nix
index 02561f83..3e08f774 100644
--- a/machines/profpatsch/shiki.nix
+++ b/machines/profpatsch/shiki.nix
@@ -46,6 +46,10 @@ in {
       zeroconf.discovery.enable = true;
       # for Pillars of Eternity
       support32Bit = true;
+      package = pkgs.pulseaudio.override {
+        bluetoothSupport = true;
+      };
+      extraModules = [ pkgs.pulseaudio-modules-bt ];
     };
     # steam
     # needed by some games (TODO: general module for games)
@@ -59,6 +63,8 @@ in {
     #     fcitx.engines = with pkgs.fcitx-engines; [ mozc ];
     #   };
     # };
+    hardware.bluetooth.enable = true;
+    services.blueman.enable = true;
 
     ######
     # Nix