From ddb1b843846958d6d587951314904399969de227 Mon Sep 17 00:00:00 2001
From: NullBite <me@nullbite.com>
Date: Sun, 23 Jun 2024 03:37:02 -0400
Subject: [PATCH] rpi4: create mounts for media and syncthing

---
 hosts/rpi4/hardware-configuration.nix | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/hosts/rpi4/hardware-configuration.nix b/hosts/rpi4/hardware-configuration.nix
index d3d2ebc..918dd45 100644
--- a/hosts/rpi4/hardware-configuration.nix
+++ b/hosts/rpi4/hardware-configuration.nix
@@ -42,6 +42,18 @@
       fsType = "ext4";
     };
 
+  fileSystems."/srv/syncthing" =
+    { device = "/dev/disk/by-uuid/112535b6-4318-4d26-812b-7baf0d65dae5";
+      fsType = "btrfs";
+      options = [ "subvol=/@syncthing" ];
+    };
+
+  fileSystems."/srv/media" =
+    { device = "/dev/disk/by-uuid/112535b6-4318-4d26-812b-7baf0d65dae5";
+      fsType = "btrfs";
+      options = [ "subvol=/@media" ];
+    };
+
   fileSystems."/opt/hassio" =
     { device = "/dev/disk/by-uuid/112535b6-4318-4d26-812b-7baf0d65dae5";
       fsType = "btrfs";