feat(tyr): setup bluetooth with home assistant.

This commit is contained in:
CronyAkatsuki 2025-10-26 18:46:17 +01:00
parent 6da032eae9
commit 07a2598300
2 changed files with 21 additions and 0 deletions

View file

@ -59,6 +59,22 @@
LC_TIME = "hr_HR.UTF-8"; LC_TIME = "hr_HR.UTF-8";
}; };
# Setup bluetooth
hardware.bluetooth.enable = true;
hardware.bluetooth.powerOnBoot = true;
hardware.bluetooth.settings = {
General = {
Enable = "Source,Sink,Media,Socket";
Experimental = true;
};
};
# Setup dbus broker
services.dbus = {
enable = true;
implementation = "broker";
};
# Enable seatd # Enable seatd
services.seatd.enable = true; services.seatd.enable = true;

View file

@ -5,8 +5,13 @@
ports = [ ports = [
"8123:8123" "8123:8123"
]; ];
capabilities = {
NET_ADMIN = true;
NET_RAW = true;
};
volumes = [ volumes = [
"/var/lib/homeassistant:/config" "/var/lib/homeassistant:/config"
"/run/dbus:/run/dbus:ro"
]; ];
environment = { environment = {
TZ = "Europe/Berlin"; TZ = "Europe/Berlin";