summaryrefslogtreecommitdiff
path: root/system/bluetooth.nix
diff options
context:
space:
mode:
authorFreya Murphy <freya@freyacat.org>2025-06-26 13:26:37 -0400
committerFreya Murphy <freya@freyacat.org>2025-06-26 13:26:37 -0400
commitd94d620d2f393e274676a619b8a56f97f0ed7524 (patch)
tree9a71c00f90a93749a4db4abe823e87ea72bfec2a /system/bluetooth.nix
parentadd packages to wsl (diff)
downloaddotfiles-nix-d94d620d2f393e274676a619b8a56f97f0ed7524.tar.gz
dotfiles-nix-d94d620d2f393e274676a619b8a56f97f0ed7524.tar.bz2
dotfiles-nix-d94d620d2f393e274676a619b8a56f97f0ed7524.zip
make system config more modular
Diffstat (limited to '')
-rw-r--r--system/bluetooth.nix12
1 files changed, 12 insertions, 0 deletions
diff --git a/system/bluetooth.nix b/system/bluetooth.nix
new file mode 100644
index 0000000..2015eb6
--- /dev/null
+++ b/system/bluetooth.nix
@@ -0,0 +1,12 @@
+{
+ lib,
+ config,
+ ...
+}: let
+ inherit (lib) mkIf;
+in {
+ config = mkIf config.bluetooth {
+ hardware.bluetooth.enable = true;
+ services.blueman.enable = true;
+ };
+}