diff options
Diffstat (limited to 'modules/hardware/laptop.nix')
-rw-r--r-- | modules/hardware/laptop.nix | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/modules/hardware/laptop.nix b/modules/hardware/laptop.nix index bd08308..c662885 100644 --- a/modules/hardware/laptop.nix +++ b/modules/hardware/laptop.nix @@ -6,7 +6,18 @@ ]; hardware = { - bluetooth.enable = true; + bluetooth = { + enable = true; + powerOnBoot = false; + }; + }; + systemd.services.bluetooth.wantedBy = lib.mkForce []; + systemd.timers.bluetooth = { + description = "Delayed startup of Bluetooth"; + wantedBy = [ "timers.target" ]; + timerConfig = { + OnActiveSec = "1 min"; + }; }; environment.systemPackages = with pkgs; [ |