From 5e118b40638a3321e367352f321c9be276981647 Mon Sep 17 00:00:00 2001 From: Aleksandr Lebedev Date: Fri, 10 Oct 2025 19:23:44 +0200 Subject: [PATCH] Stargate bluetooth partial fix --- systems/x86_64-linux/stargate/default.nix | 9 ++++++++- .../x86_64-linux/stargate/services/home-assistant.nix | 2 ++ 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/systems/x86_64-linux/stargate/default.nix b/systems/x86_64-linux/stargate/default.nix index 2130589..1fa29d1 100644 --- a/systems/x86_64-linux/stargate/default.nix +++ b/systems/x86_64-linux/stargate/default.nix @@ -108,9 +108,16 @@ in { }; custom.presets.default = enabled; custom.hardware.secureBoot = enabled; - hardware.bluetooth.enable = mkForce false; + custom.hardware.bluetooth.enable = true; custom.impermanence = enabled; + hardware.enableAllHardware = true; + hardware.enableAllFirmware = true; + boot.kernelModules = [ + # get wifi drivers to work for Realtek Wifi RTL8852CE + "rtw89_8852ce" + ]; + custom.users.kylekrein = { enable = true; config = {}; diff --git a/systems/x86_64-linux/stargate/services/home-assistant.nix b/systems/x86_64-linux/stargate/services/home-assistant.nix index 2805786..80d5037 100644 --- a/systems/x86_64-linux/stargate/services/home-assistant.nix +++ b/systems/x86_64-linux/stargate/services/home-assistant.nix @@ -12,6 +12,7 @@ "met" "radio_browser" "wiz" + "thermopro" ]; config = { http = { @@ -48,4 +49,5 @@ } ]; }; + users.users.hass.extraGroups = ["bluetooth"]; }