diff options
| author | Freya Murphy <freya@freyacat.org> | 2026-03-09 23:17:49 -0400 |
|---|---|---|
| committer | Freya Murphy <freya@freyacat.org> | 2026-03-09 23:17:49 -0400 |
| commit | 5cebe15d8e2adc3fa227b582287740205862fdb0 (patch) | |
| tree | e8e04f43909f61326ef194bf645719859615a86f /system/bluetooth.nix | |
| parent | update commits (diff) | |
| download | dotfiles-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.nix | 7 |
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"]; }; } |