about summary refs log tree commit diff stats
path: root/hosts
diff options
context:
space:
mode:
Diffstat (limited to 'hosts')
-rw-r--r--hosts/apzu/hardware/default.nix6
-rw-r--r--hosts/tiamat/hardware/default.nix6
2 files changed, 10 insertions, 2 deletions
diff --git a/hosts/apzu/hardware/default.nix b/hosts/apzu/hardware/default.nix
index 7426c015..2cbf3254 100644
--- a/hosts/apzu/hardware/default.nix
+++ b/hosts/apzu/hardware/default.nix
@@ -7,7 +7,11 @@
 
   nixpkgs.hostPlatform = "x86_64-linux";
 
-  hardware.bluetooth.enable = true;
+  hardware.bluetooth = {
+    enable = true;
+    # Avoid some battery drain, requires a `power on` in bluetoothctl
+    powerOnBoot = false;
+  };
 
   soispha.disks = {
     enable = true;
diff --git a/hosts/tiamat/hardware/default.nix b/hosts/tiamat/hardware/default.nix
index b15c6e53..47275cc4 100644
--- a/hosts/tiamat/hardware/default.nix
+++ b/hosts/tiamat/hardware/default.nix
@@ -6,7 +6,11 @@
   ];
 
   nixpkgs.hostPlatform = "x86_64-linux";
-  hardware.bluetooth.enable = true;
+
+  hardware.bluetooth = {
+    enable = true;
+    powerOnBoot = true;
+  };
 
   soispha.disks = {
     enable = true;