summaryrefslogtreecommitdiff
path: root/system/bluetooth.nix
diff options
context:
space:
mode:
authorFreya Murphy <freya@freyacat.org>2026-03-09 23:17:49 -0400
committerFreya Murphy <freya@freyacat.org>2026-03-09 23:17:49 -0400
commit5cebe15d8e2adc3fa227b582287740205862fdb0 (patch)
treee8e04f43909f61326ef194bf645719859615a86f /system/bluetooth.nix
parentupdate commits (diff)
downloaddotfiles-nix-5cebe15d8e2adc3fa227b582287740205862fdb0.tar.gz
dotfiles-nix-5cebe15d8e2adc3fa227b582287740205862fdb0.tar.bz2
dotfiles-nix-5cebe15d8e2adc3fa227b582287740205862fdb0.zip
add .enable to modules, add nvidia module, add obs app
Diffstat (limited to 'system/bluetooth.nix')
-rw-r--r--system/bluetooth.nix7
1 files changed, 4 insertions, 3 deletions
diff --git a/system/bluetooth.nix b/system/bluetooth.nix
index 06768b5..69b286f 100644
--- a/system/bluetooth.nix
+++ b/system/bluetooth.nix
@@ -5,13 +5,14 @@
...
}: let
inherit (lib) mkIf;
+ cfg = config.bluetooth;
in {
- config = mkIf config.bluetooth {
+ config = mkIf cfg.enable {
hardware.bluetooth.enable = true;
services.blueman.enable = true;
users.groups.bluetooth.members = [config.user];
- hardware.firmware = [ pkgs.broadcom-bt-firmware ];
- unfreePackages = [ "broadcom-bt-firmware" ];
+ hardware.firmware = [pkgs.broadcom-bt-firmware];
+ unfreePackages = ["broadcom-bt-firmware"];
};
}