diff options
author | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2024-03-31 14:21:16 +0200 |
---|---|---|
committer | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2024-03-31 14:22:14 +0200 |
commit | f61172922fe0c367c671c14b07a58236fb57f410 (patch) | |
tree | 0838ae542258ba675764915332113745916280f8 /hosts | |
parent | fix(hosts/tiamat/hardware): Avoid having a suspended Bluetooth controller (diff) | |
download | nixos-config-f61172922fe0c367c671c14b07a58236fb57f410.tar.gz nixos-config-f61172922fe0c367c671c14b07a58236fb57f410.zip |
feat(hosts/{tiamat,apzu}/hardware): Don't always enable the bluetooth controller
Diffstat (limited to 'hosts')
-rw-r--r-- | hosts/apzu/hardware/default.nix | 6 | ||||
-rw-r--r-- | hosts/tiamat/hardware/default.nix | 6 |
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; |