summary refs log tree commit diff stats
path: root/system
diff options
context:
space:
mode:
authorAlan Pearce2022-06-12 17:18:38 +0200
committerAlan Pearce2022-06-13 02:53:13 +0200
commit81bba2553bcc1ae40f1fc3e1cab29bbdf2841768 (patch)
tree2e5c0e3e3a4902e588a8855573d1fdb08ab62fe0 /system
parent1fb286fa1b6d5c060b4a18514fdab5e30b2a273b (diff)
downloadnixfiles-81bba2553bcc1ae40f1fc3e1cab29bbdf2841768.tar.lz
nixfiles-81bba2553bcc1ae40f1fc3e1cab29bbdf2841768.tar.zst
nixfiles-81bba2553bcc1ae40f1fc3e1cab29bbdf2841768.zip
bluetooth: only enable bluetooth outside of KDE
Diffstat (limited to 'system')
-rw-r--r--system/settings/hardware/bluetooth.nix4
-rw-r--r--system/settings/programs/kde.nix2
2 files changed, 4 insertions, 2 deletions
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;
 }