From 81bba2553bcc1ae40f1fc3e1cab29bbdf2841768 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Sun, 12 Jun 2022 17:18:38 +0200 Subject: bluetooth: only enable bluetooth outside of KDE --- system/settings/hardware/bluetooth.nix | 4 ++-- system/settings/programs/kde.nix | 2 ++ 2 files changed, 4 insertions(+), 2 deletions(-) (limited to 'system') diff --git a/system/settings/hardware/bluetooth.nix b/system/settings/hardware/bluetooth.nix index dbff48ec..258fdb29 100644 --- a/system/settings/hardware/bluetooth.nix +++ b/system/settings/hardware/bluetooth.nix @@ -1,4 +1,4 @@ -{ config, pkgs, ... }: +{ config, pkgs, lib, ... }: { hardware = { @@ -14,6 +14,6 @@ ]; services.blueman = { - enable = true; + enable = lib.mkDefault true; }; } diff --git a/system/settings/programs/kde.nix b/system/settings/programs/kde.nix index 4c2619bd..52688d00 100644 --- a/system/settings/programs/kde.nix +++ b/system/settings/programs/kde.nix @@ -19,4 +19,6 @@ with lib; environment.systemPackages = with pkgs; [ kde-gtk-config ]; + + services.blueman.enable = false; } -- cgit 1.4.1