From 7e7c8947fc2ff5598124c4a4c18bd28432fa017e Mon Sep 17 00:00:00 2001 From: Collin Williams <96917990+bluedragon1221@users.noreply.github.com> Date: Mon, 8 Sep 2025 14:01:35 -0500 Subject: rework most of config; probably broke jupiter again; working to add ganymede (non-nixos) to this repo --- modules/services/nixos/bluetooth.nix | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 modules/services/nixos/bluetooth.nix (limited to 'modules/services/nixos/bluetooth.nix') diff --git a/modules/services/nixos/bluetooth.nix b/modules/services/nixos/bluetooth.nix new file mode 100644 index 0000000..a86b5b3 --- /dev/null +++ b/modules/services/nixos/bluetooth.nix @@ -0,0 +1,19 @@ +{ + pkgs, + lib, + config, + ... +}: let + cfg = config.collinux.services.bluetooth; +in + lib.mkIf cfg.enable { + hardware.bluetooth = { + enable = true; + powerOnBoot = true; + }; + + environment.systemPackages = [ + (lib.mkIf cfg.blueman.enable pkgs.blueman) + (lib.mkIf cfg.bluetuith.enable pkgs.bluetuith) + ]; + } -- cgit v1.3.1