From fb662e36284e528e8c97e7940741a03e856d1908 Mon Sep 17 00:00:00 2001 From: James Walker Date: Thu, 22 Jul 2021 23:13:32 -0400 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=A7=20update=20hass=20config=20and=20r?= =?UTF-8?q?elease=20version?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- hosts/plato/configuration.nix | 5 +++++ modules/home-assistant/default.nix | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/hosts/plato/configuration.nix b/hosts/plato/configuration.nix index 9c73d42..e36ad3d 100644 --- a/hosts/plato/configuration.nix +++ b/hosts/plato/configuration.nix @@ -49,6 +49,11 @@ in { system.autoUpgrade.enable = true; environment.systemPackages = with pkgs; [ weechat ]; + fileSystems."/mnt/config" = { + device = "192.168.6.100:/volume1/Config"; + fsType = "nfs"; + }; + fileSystems."/mnt/downloads" = { device = "192.168.6.100:/volume1/Downloads"; fsType = "nfs"; diff --git a/modules/home-assistant/default.nix b/modules/home-assistant/default.nix index 0b183ce..4228e43 100644 --- a/modules/home-assistant/default.nix +++ b/modules/home-assistant/default.nix @@ -5,9 +5,9 @@ virtualisation.oci-containers = { containers = { home-assistant = { - image = "ghcr.io/home-assistant/home-assistant:2021.7.2"; + image = "ghcr.io/home-assistant/home-assistant:2021.7.4"; volumes = - [ "/var/lib/hass:/config" "/etc/localtime:/etc/localtime:ro" ]; + [ "/mnt/config/hass:/config" "/etc/localtime:/etc/localtime:ro" ]; extraOptions = [ "--privileged" "--network=host" ]; }; };