From a3411fe36136ce7befbb9a21c556257e9ab655ea Mon Sep 17 00:00:00 2001 From: Roy Dumblauskas Date: Sun, 7 Sep 2025 17:01:17 -0500 Subject: [PATCH] bluetooth --- configuration.nix | 19 +++++++++++++++++++ home.nix | 2 +- 2 files changed, 20 insertions(+), 1 deletion(-) diff --git a/configuration.nix b/configuration.nix index 004c7be..3769193 100755 --- a/configuration.nix +++ b/configuration.nix @@ -29,6 +29,7 @@ "/var/log" "/var/db/sudo/lectured" "/var/lib/nixos" + "/var/lib/bluetooth" ]; }; @@ -150,6 +151,24 @@ }; }; + hardware.bluetooth = { + enable = true; + powerOnBoot = true; + settings = { + General = { + # Shows battery charge of connected devices on supported + # Bluetooth adapters. Defaults to 'false'. + Experimental = true; + }; + Policy = { + # Enable all controllers when they are found. This includes + # adapters present on start as well as adapters that are plugged + # in later on. + AutoEnable = true; + }; + }; + }; + environment.sessionVariables.NIXOS_OZONE_WL = "1"; environment.variables = { diff --git a/home.nix b/home.nix index c97125a..b13c520 100755 --- a/home.nix +++ b/home.nix @@ -56,7 +56,7 @@ ".mozilla/firefox/roy/storage/default" ".cache/mozilla/firefox/roy" # persist steam - ".steam" + ".local/share/Steam" ]; files = [ ".bash_history"