Compare commits

..

3 commits

4 changed files with 34 additions and 6 deletions

View file

@ -172,7 +172,7 @@ in
"systemctl --user start hyprpolkitagent"
"[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 1 silent] zen-beta"

View file

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

View file

@ -60,6 +60,7 @@ in
};
firewall = {
allowedTCPPorts = [
443
53
80
];
@ -117,8 +118,8 @@ in
};
systemd.tmpfiles.rules = [
"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 - -"
# "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 - -"
"f ${config.services.home-assistant.configDir}/automations.yaml 0755 hass hass"
];
@ -133,10 +134,10 @@ in
"met"
"esphome"
"rpi_power"
"tuya"
];
customComponents = with pkgs.home-assistant-custom-components; [
tuya_local
smartthinq-sensors
sleep_as_android
];
@ -148,6 +149,9 @@ in
customLovelaceModules = with pkgs.home-assistant-custom-lovelace-modules; [
mushroom
bubble-card
clock-weather-card
vacuum-card
];
config = {
@ -156,11 +160,34 @@ in
longitude = 8.6;
temperature_unit = "C";
unit_system = "metric";
external_url = "https://ha.christophhollizeck.dev";
internal_url = "http://192.168.178.2:8123";
};
mobile_app = "";
recorder = "";
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 = {

View file

@ -41,7 +41,7 @@ in
windowrulev2 = [
"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)$"
];
};