From 77d1fe8bd00ec1b8afdbb71b5d95c4b3faff92be Mon Sep 17 00:00:00 2001 From: genofire Date: Sat, 6 Nov 2021 13:13:46 +0100 Subject: [PATCH] nixos: add bluetooth support --- nixos/desktop-sway.nix | 1 + nixos/desktop.nix | 1 + 2 files changed, 2 insertions(+) diff --git a/nixos/desktop-sway.nix b/nixos/desktop-sway.nix index 8243396..f972910 100644 --- a/nixos/desktop-sway.nix +++ b/nixos/desktop-sway.nix @@ -8,6 +8,7 @@ # alsa.support32bit = true; pulse.enable = true; }; + environment.systemPackages = [ pkgs.pulseaudio-modules-bt ]; programs.sway = { enable = true; diff --git a/nixos/desktop.nix b/nixos/desktop.nix index fab1a46..d4d3744 100644 --- a/nixos/desktop.nix +++ b/nixos/desktop.nix @@ -49,6 +49,7 @@ }; }; + hardware.bluetooth.enable = true; sound.enable = true; environment.systemPackages = with pkgs; [