all repos — nixfiles @ 81bba2553bcc1ae40f1fc3e1cab29bbdf2841768

System and user configuration, managed by nix and home-manager

bluetooth: only enable bluetooth outside of KDE
Alan Pearce alan@alanpearce.eu
Sun, 12 Jun 2022 17:18:38 +0200
commit

81bba2553bcc1ae40f1fc3e1cab29bbdf2841768

parent

1fb286fa1b6d5c060b4a18514fdab5e30b2a273b

2 files changed, 4 insertions(+), 2 deletions(-)

jump to
M system/settings/hardware/bluetooth.nixsystem/settings/hardware/bluetooth.nix
@@ -1,4 +1,4 @@-{ config, pkgs, ... }:
+{ config, pkgs, lib, ... }:
 
 {
   hardware = {
@@ -14,6 +14,6 @@ bluez-tools   ];
 
   services.blueman = {
-    enable = true;
+    enable = lib.mkDefault true;
   };
 }
M system/settings/programs/kde.nixsystem/settings/programs/kde.nix
@@ -19,4 +19,6 @@   environment.systemPackages = with pkgs; [
     kde-gtk-config
   ];
+
+  services.blueman.enable = false;
 }