diff --git a/machines/oldtown/default.nix b/machines/oldtown/default.nix index a689a861..1e82b53f 100644 --- a/machines/oldtown/default.nix +++ b/machines/oldtown/default.nix @@ -5,6 +5,7 @@ ./hardware.nix ./secret.nix + ../../profiles/bluetooth/default.nix ../../profiles/common/default.nix ../../profiles/graphical/default.nix ]; diff --git a/machines/pentos/default.nix b/machines/pentos/default.nix index 3d36547c..35888599 100644 --- a/machines/pentos/default.nix +++ b/machines/pentos/default.nix @@ -5,6 +5,7 @@ ./hardware.nix ./secret.nix + ../../profiles/bluetooth/default.nix ../../profiles/common/default.nix ../../profiles/graphical/default.nix ]; diff --git a/profiles/bluetooth/default.nix b/profiles/bluetooth/default.nix new file mode 100644 index 00000000..dc1eae67 --- /dev/null +++ b/profiles/bluetooth/default.nix @@ -0,0 +1,8 @@ +{ pkgs, ... }: + +{ + hardware.bluetooth.enable = true; + services.blueman.enable = true; + hardware.pulseaudio.extraModules = [ pkgs.pulseaudio-modules-bt ]; + hardware.pulseaudio.package = pkgs.pulseaudioFull; +}