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" ]; }; };