feat(tyr): setup bluetooth with home assistant.
This commit is contained in:
parent
6da032eae9
commit
07a2598300
2 changed files with 21 additions and 0 deletions
|
|
@ -59,6 +59,22 @@
|
|||
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
|
||||
services.seatd.enable = true;
|
||||
|
||||
|
|
|
|||
|
|
@ -5,8 +5,13 @@
|
|||
ports = [
|
||||
"8123:8123"
|
||||
];
|
||||
capabilities = {
|
||||
NET_ADMIN = true;
|
||||
NET_RAW = true;
|
||||
};
|
||||
volumes = [
|
||||
"/var/lib/homeassistant:/config"
|
||||
"/run/dbus:/run/dbus:ro"
|
||||
];
|
||||
environment = {
|
||||
TZ = "Europe/Berlin";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue