Commit e943ed6

HPCesia <me@hpcesia.com>
2026-06-10 04:53:42
Add bluetooth config
1 parent 6d93462
Changed files (2)
modules
core
hardware
hosts
modules/core/hardware/bluetooth.nix
@@ -0,0 +1,25 @@
+{
+  den.aspects.core.hardware.bluetooth = {
+    persist = {
+      directories = [
+        "/var/lib/bluetooth"
+      ];
+    };
+
+    nixos = {
+      hardware.bluetooth = {
+        enable = true;
+        powerOnBoot = true;
+        settings = {
+          Policy.AutoEnable = true;
+          General = {
+            FastConnectable = true;
+            Enable = "Source,Sink,Media,Socket";
+          };
+        };
+      };
+
+      services.blueman.enable = true;
+    };
+  };
+}
modules/hosts/kevin/hardware.nix
@@ -1,4 +1,4 @@
-{
+{den, ...}: {
   den.hosts.kevin.settings = {
     desktop.style = {
       fonts.sizes = {
@@ -10,6 +10,10 @@
   };
 
   den.aspects.kevin = {
+    includes = [
+      den.aspects.core.hardware.bluetooth
+    ];
+
     nixos = {
       hardware.facter.reportPath = ./facter.json;