From d0b5b42dca98700dc5cc4d0febf1a00b488aeb3a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Madeleine=20Sydney=20=C5=9Alaga?= Date: Mon, 23 Mar 2026 11:26:52 -0600 Subject: [PATCH] fix(fruitbook): disable bluetooth (since DMS provides it) --- hosts/fruitbook/configuration.nix | 1 + modules/nixos/blueman.nix | 12 ++++++++++++ modules/nixos/bluetooth.nix | 2 -- 3 files changed, 13 insertions(+), 2 deletions(-) create mode 100644 modules/nixos/blueman.nix diff --git a/hosts/fruitbook/configuration.nix b/hosts/fruitbook/configuration.nix index 2618982..ebc4b14 100644 --- a/hosts/fruitbook/configuration.nix +++ b/hosts/fruitbook/configuration.nix @@ -16,6 +16,7 @@ stylix.enable = true; niri.enable = true; bluetooth.enable = true; + # blueman.enable = true; openssh.enable = true; sydpkgs.overlay.enable = true; dank-material-shell.enable = true; diff --git a/modules/nixos/blueman.nix b/modules/nixos/blueman.nix new file mode 100644 index 0000000..5dd5fbd --- /dev/null +++ b/modules/nixos/blueman.nix @@ -0,0 +1,12 @@ +{ config, lib, pkgs, ... }: + +let cfg = config.sydnix.blueman; +in { + options.sydnix.blueman = { + enable = lib.mkEnableOption "Blueman BlueTooth manager"; + }; + + config = lib.mkIf cfg.enable { + services.blueman.enable = true; + }; +} diff --git a/modules/nixos/bluetooth.nix b/modules/nixos/bluetooth.nix index 9338ece..9292946 100644 --- a/modules/nixos/bluetooth.nix +++ b/modules/nixos/bluetooth.nix @@ -7,8 +7,6 @@ in { }; config = lib.mkIf cfg.enable { - services.blueman.enable = true; - hardware.bluetooth = { enable = true; powerOnBoot = true;