mirror of
https://github.com/anotherhadi/nixy.git
synced 2026-10-05 11:18:24 +02:00
@@ -46,6 +46,8 @@ in {
|
|||||||
"manual"
|
"manual"
|
||||||
"meteo_france"
|
"meteo_france"
|
||||||
"remote_calendar"
|
"remote_calendar"
|
||||||
|
"music_assistant"
|
||||||
|
"systemmonitor"
|
||||||
];
|
];
|
||||||
customComponents = plugins.customComponents;
|
customComponents = plugins.customComponents;
|
||||||
customLovelaceModules = plugins.customLovelaceModules;
|
customLovelaceModules = plugins.customLovelaceModules;
|
||||||
@@ -105,6 +107,19 @@ in {
|
|||||||
done
|
done
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
services.music-assistant = {
|
||||||
|
enable = true;
|
||||||
|
openFirewall = true;
|
||||||
|
providers = [
|
||||||
|
"hass"
|
||||||
|
"hass_players"
|
||||||
|
"spotify"
|
||||||
|
"sonos"
|
||||||
|
"airplay"
|
||||||
|
"chromecast"
|
||||||
|
];
|
||||||
|
};
|
||||||
|
|
||||||
services.matter-server = {
|
services.matter-server = {
|
||||||
enable = true;
|
enable = true;
|
||||||
extraArgs.primary-interface = config.var.networkInterface;
|
extraArgs.primary-interface = config.var.networkInterface;
|
||||||
@@ -112,5 +127,8 @@ in {
|
|||||||
|
|
||||||
networking.firewall.allowedUDPPorts = [5353];
|
networking.firewall.allowedUDPPorts = [5353];
|
||||||
|
|
||||||
services.cloudflared.tunnels."${config.var.tunnelId}".ingress."hass.${config.var.domain}" = "http://localhost:${toString config.services.home-assistant.config.http.server_port}";
|
services.cloudflared.tunnels."${config.var.tunnelId}".ingress = {
|
||||||
|
"hass.${config.var.domain}" = "http://localhost:${toString config.services.home-assistant.config.http.server_port}";
|
||||||
|
"music.${config.var.domain}" = "http://localhost:8095";
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -54,7 +54,11 @@
|
|||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
in {
|
in {
|
||||||
customComponents = [idfm];
|
customComponents = [
|
||||||
|
idfm
|
||||||
|
pkgs.home-assistant-custom-components.adaptive_lighting
|
||||||
|
pkgs.home-assistant-custom-components.spook
|
||||||
|
];
|
||||||
customLovelaceModules = [
|
customLovelaceModules = [
|
||||||
atomic-calendar-revive
|
atomic-calendar-revive
|
||||||
multiday-calendar-card
|
multiday-calendar-card
|
||||||
|
|||||||
Reference in New Issue
Block a user