From 82eac6549fe01ecd4b8aec799f1dba37eb253ecd Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Tue, 12 Jan 2021 17:01:45 +0100 Subject: Extract bluetooth settings from laptop module --- system/settings/hardware/bluetooth.nix | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 system/settings/hardware/bluetooth.nix (limited to 'system/settings/hardware/bluetooth.nix') diff --git a/system/settings/hardware/bluetooth.nix b/system/settings/hardware/bluetooth.nix new file mode 100644 index 00000000..dbff48ec --- /dev/null +++ b/system/settings/hardware/bluetooth.nix @@ -0,0 +1,19 @@ +{ config, pkgs, ... }: + +{ + hardware = { + bluetooth = { + enable = true; + powerOnBoot = false; + }; + }; + systemd.services.bluetooth.restartIfChanged = false; + + environment.systemPackages = with pkgs; [ + bluez-tools + ]; + + services.blueman = { + enable = true; + }; +} -- cgit 1.4.1