about summary refs log tree commit diff stats
path: root/hosts/apzu/hardware/default.nix
diff options
context:
space:
mode:
authorBenedikt Peetz <benedikt.peetz@b-peetz.de>2024-03-31 14:21:16 +0200
committerBenedikt Peetz <benedikt.peetz@b-peetz.de>2024-03-31 14:22:14 +0200
commitf61172922fe0c367c671c14b07a58236fb57f410 (patch)
tree0838ae542258ba675764915332113745916280f8 /hosts/apzu/hardware/default.nix
parentfix(hosts/tiamat/hardware): Avoid having a suspended Bluetooth controller (diff)
downloadnixos-config-f61172922fe0c367c671c14b07a58236fb57f410.tar.gz
nixos-config-f61172922fe0c367c671c14b07a58236fb57f410.zip
feat(hosts/{tiamat,apzu}/hardware): Don't always enable the bluetooth controller
Diffstat (limited to '')
-rw-r--r--hosts/apzu/hardware/default.nix6
1 files changed, 5 insertions, 1 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;