about summary refs log tree commit diff
path: root/machines/srv3
diff options
context:
space:
mode:
authorPatryk Niedźwiedziński <patryk@niedzwiedzinski.cyou>2024-11-21 12:15:17 +0100
committerPatryk Niedźwiedziński <patryk@niedzwiedzinski.cyou>2024-11-21 12:15:17 +0100
commit468e2d8f330d9dffbe17fabbfa4b1994a2f5f553 (patch)
tree4c5ded49ca18b27b45e27618bf1b7c69b0f5b4a4 /machines/srv3
parent88cbefc7da687f9cfe5d52a0c967f9c4c95bd6b3 (diff)
downloaddots-master.tar.gz
dots-master.zip
srv3: add second drive HEAD master
Diffstat (limited to 'machines/srv3')
-rw-r--r--machines/srv3/hardware-configuration.nix12
1 files changed, 12 insertions, 0 deletions
diff --git a/machines/srv3/hardware-configuration.nix b/machines/srv3/hardware-configuration.nix
index ced039c..e1b0dba 100644
--- a/machines/srv3/hardware-configuration.nix
+++ b/machines/srv3/hardware-configuration.nix
@@ -13,6 +13,18 @@
   boot.kernelModules = [ "kvm-intel" ];
   boot.extraModulePackages = [ ];
 
+  fileSystems."/data" = {
+    device = "/dev/disk/by-uuid/f5a131d0-aaec-4129-8f46-9136abef4f1a";
+    fsType = "btrfs";
+    options = [ "subvol=data" ];
+  };
+
+  fileSystems."/snapshots" = {
+    device = "/dev/disk/by-uuid/f5a131d0-aaec-4129-8f46-9136abef4f1a";
+    fsType = "btrfs";
+    options = [ "subvol=snapshots" ];
+  };
+
   fileSystems."/" =
     { device = "/dev/disk/by-uuid/6be0c826-51c9-40dd-9210-6d79f329e6e6";
       fsType = "ext4";