1
0
Fork 0

hswaw/machines/sound: add blitzloop, fix prod diff

Change-Id: I10f9659455842e5a8904183b8929be16c2a633fe
Reviewed-on: https://gerrit.hackerspace.pl/c/hscloud/+/1633
Reviewed-by: informatic <informatic@hackerspace.pl>
Reviewed-by: q3k <q3k@hackerspace.pl>
master
q3k 2023-09-25 02:01:28 +02:00 committed by q3k
parent 63ce423ebb
commit aafef3373d
2 changed files with 19 additions and 3 deletions

View File

@ -45,7 +45,7 @@ in {
fsType = "ext4";
};
networking.hostName = "newsound";
networking.hostName = "sound";
networking.domain = "waw.hackerspace.pl";
networking.useDHCP = false;
@ -96,7 +96,7 @@ in {
services.mosquitto.listeners = [
{
settings.allow_anonymous = true;
settings.psk_file = "/run/mosquitto-secrets/pwfile";
#settings.psk_file = "/run/mosquitto-secrets/pwfile";
acl = [
"topic read $SYS/#"
"topic #"

View File

@ -257,10 +257,17 @@
{
command_topic = "iot/craptrap/windows10/state/set";
name = "Windows 10 VM (Craptrap)";
payload_off = "pmsuspended";
payload_off = "shutdown";
payload_on = "running";
state_topic = "iot/craptrap/windows10/state";
}
{
command_topic = "iot/craptrap/blitzloop/state/set";
name = "Blitzloop VM (Craptrap)";
payload_off = "shutdown";
payload_on = "running";
state_topic = "iot/craptrap/blitzloop/state";
}
{
command_topic = "iot/ab20d2/heater/on/set";
name = "Heater power";
@ -282,6 +289,15 @@
};
name = "Cinema";
}
{
entities = {
"light.main_room" = false;
"switch.projection_screen" = true;
"switch.projector" = true;
"switch.blitzloop_vm_craptrap" = true;
};
name = "Karaoke";
}
{
entities = {
"light.main_room" = true;