From 1e6833fe3c338075bcbe232252d15849016e75d1 Mon Sep 17 00:00:00 2001 From: Jacob Hinkle Date: Tue, 23 Jan 2024 12:52:04 -0500 Subject: [PATCH] Add NFS mounts and update home-assistant --- machines/cj/hardware-configuration-zfs.nix | 12 ++++++++++++ machines/cj/home-assistant.nix | 2 +- 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/machines/cj/hardware-configuration-zfs.nix b/machines/cj/hardware-configuration-zfs.nix index 745b142..72bc231 100644 --- a/machines/cj/hardware-configuration-zfs.nix +++ b/machines/cj/hardware-configuration-zfs.nix @@ -109,6 +109,18 @@ neededForBoot = true; }; + fileSystems."/nfs/homes" = + { device = "192.168.88.88:/volume1/homes"; + fsType = "nfs"; + neededForBoot = false; + }; + + fileSystems."/nfs/shared_photos" = + { device = "192.168.88.88:/volume1/photo"; + fsType = "nfs"; + neededForBoot = false; + }; + swapDevices = [ { device = "/dev/disk/by-partuuid/6bf463d0-107f-489e-be29-704442ea3150"; diff --git a/machines/cj/home-assistant.nix b/machines/cj/home-assistant.nix index 77ba41b..8113d81 100644 --- a/machines/cj/home-assistant.nix +++ b/machines/cj/home-assistant.nix @@ -1,6 +1,6 @@ serverIP : { - image = "ghcr.io/home-assistant/home-assistant:2023.6.3"; + image = "ghcr.io/home-assistant/home-assistant:2023.11.2"; #ports = [ #"8123:8123" #];