From f61172922fe0c367c671c14b07a58236fb57f410 Mon Sep 17 00:00:00 2001 From: Benedikt Peetz Date: Sun, 31 Mar 2024 14:21:16 +0200 Subject: feat(hosts/{tiamat,apzu}/hardware): Don't always enable the bluetooth controller --- hosts/apzu/hardware/default.nix | 6 +++++- hosts/tiamat/hardware/default.nix | 6 +++++- 2 files changed, 10 insertions(+), 2 deletions(-) (limited to 'hosts') 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; -- cgit 1.4.1