Compare commits

..

3 commits

4 changed files with 34 additions and 6 deletions

View file

@ -172,7 +172,7 @@ in
"systemctl --user start hyprpolkitagent" "systemctl --user start hyprpolkitagent"
"[workspace 2 silent] steam --disable-gpu-compositing" # nvidia pls let me have nice things "[workspace 2 silent] steam --disable-gpu-compositing" # nvidia pls let me have nice things
"[workspace 8 silent] vesktop" "[workspace 8 silent] discord"
"[workspace 9 silent] ELECTRON_OZONE_PLATFORM_HINT=x11 1password" # fix for promts not showing up anymore "[workspace 9 silent] ELECTRON_OZONE_PLATFORM_HINT=x11 1password" # fix for promts not showing up anymore
"[workspace 1 silent] zen-beta" "[workspace 1 silent] zen-beta"

View file

@ -65,8 +65,9 @@ in
public = true; public = true;
lan = true; lan = true;
nonBlockingSaving = true; nonBlockingSaving = true;
autosave-interval = 15; autosave-interval = 5;
saveName = "Pyanodons"; saveName = "Pyanodons";
loadLatestSave = true;
admins = [ admins = [
"daholli" "daholli"
"galbrain" "galbrain"

View file

@ -60,6 +60,7 @@ in
}; };
firewall = { firewall = {
allowedTCPPorts = [ allowedTCPPorts = [
443
53 53
80 80
]; ];
@ -117,8 +118,8 @@ in
}; };
systemd.tmpfiles.rules = [ systemd.tmpfiles.rules = [
"C+ /var/lib/hass/custom_components/tuya_vacuum_maps - - - - ${inputs.tuya-vaccum-maps}/custom_components/tuya_vacuum_maps" # "C+ /var/lib/hass/custom_components/tuya_vacuum_maps - - - - ${inputs.tuya-vaccum-maps}/custom_components/tuya_vacuum_maps"
"Z /var/lib/hass/custom_components 770 hass hass - -" # "Z /var/lib/hass/custom_components 770 hass hass - -"
"f ${config.services.home-assistant.configDir}/automations.yaml 0755 hass hass" "f ${config.services.home-assistant.configDir}/automations.yaml 0755 hass hass"
]; ];
@ -133,10 +134,10 @@ in
"met" "met"
"esphome" "esphome"
"rpi_power" "rpi_power"
"tuya"
]; ];
customComponents = with pkgs.home-assistant-custom-components; [ customComponents = with pkgs.home-assistant-custom-components; [
tuya_local
smartthinq-sensors smartthinq-sensors
sleep_as_android sleep_as_android
]; ];
@ -148,6 +149,9 @@ in
customLovelaceModules = with pkgs.home-assistant-custom-lovelace-modules; [ customLovelaceModules = with pkgs.home-assistant-custom-lovelace-modules; [
mushroom mushroom
bubble-card
clock-weather-card
vacuum-card
]; ];
config = { config = {
@ -156,11 +160,34 @@ in
longitude = 8.6; longitude = 8.6;
temperature_unit = "C"; temperature_unit = "C";
unit_system = "metric"; unit_system = "metric";
external_url = "https://ha.christophhollizeck.dev";
internal_url = "http://192.168.178.2:8123";
}; };
mobile_app = ""; mobile_app = "";
recorder = "";
lovelace = { lovelace = {
# mode = "yaml";
resources = [
{
url = "/local/nixos-lovelace-modules/vacuum-card.js";
type = "module";
}
{
url = "/local/nixos-lovelace-modules/bubble-card.js";
type = "module";
}
{
url = "/local/nixos-lovelace-modules/clock-weather-card.js";
type = "module";
}
{
url = "/local/nixos-lovelace-modules/mushroom.js";
type = "module";
}
];
}; };
http = { http = {

View file

@ -41,7 +41,7 @@ in
windowrulev2 = [ windowrulev2 = [
"workspace 8 silent, class:^(steam)$, title:^(Friends List)" "workspace 8 silent, class:^(steam)$, title:^(Friends List)"
"workspace 8 silent, class:^(vesktop)$, title:^(Discord)" "workspace 8 silent, class:^(discord)$, title:^(Discord)"
"workspace 7 silent, class:^(com.obsproject.Studio)$" "workspace 7 silent, class:^(com.obsproject.Studio)$"
]; ];
}; };