diff options
author | Karel Kočí <cynerd@email.cz> | 2025-07-31 14:35:25 +0200 |
---|---|---|
committer | Karel Kočí <cynerd@email.cz> | 2025-07-31 14:35:25 +0200 |
commit | 8c3f71ed4b6eda2e5e3f7832abbc912d2d7a9b6c (patch) | |
tree | ea1708d56f4c2976dfc6bd45e5c87a8cfe6a326d /nixos/configurations/errol.nix | |
parent | 28056edf1de33016bc04ce53ceb0f4f2078f73ed (diff) | |
download | nixos-personal-8c3f71ed4b6eda2e5e3f7832abbc912d2d7a9b6c.tar.gz nixos-personal-8c3f71ed4b6eda2e5e3f7832abbc912d2d7a9b6c.tar.bz2 nixos-personal-8c3f71ed4b6eda2e5e3f7832abbc912d2d7a9b6c.zip |
nixos/errol: remove homeassistant
Diffstat (limited to 'nixos/configurations/errol.nix')
-rw-r--r-- | nixos/configurations/errol.nix | 40 |
1 files changed, 1 insertions, 39 deletions
diff --git a/nixos/configurations/errol.nix b/nixos/configurations/errol.nix index f986631..defacf3 100644 --- a/nixos/configurations/errol.nix +++ b/nixos/configurations/errol.nix @@ -1,11 +1,4 @@ -{ - config, - lib, - pkgs, - ... -}: let - inherit (lib) mkDefault; -in { +{pkgs, ...}: { system.stateVersion = "24.05"; nixpkgs.hostPlatform.system = "x86_64-linux"; deploy.enable = true; @@ -96,36 +89,5 @@ in { enable = true; dataDir = "/home/cynerd"; }; - - home-assistant = { - enable = true; - openFirewall = true; - configDir = "/var/lib/hass"; - config = { - homeassistant = { - name = "SPT"; - latitude = "!secret latitude"; - longitude = "!secret longitude"; - elevation = "!secret elevation"; - time_zone = "Europe/Prague"; - country = "CZ"; - }; - http.server_port = 8808; - mqtt = { - sensor = import ../home-assistant/sensors.nix; - light = import ../home-assistant/light.nix; - }; - default_config = {}; - automation = "!include automations.yaml"; - }; - extraComponents = ["met"]; - package = pkgs.home-assistant.override { - extraPackages = pkgs: - with pkgs; [ - securetar - pyipp - ]; - }; - }; }; } |