about summary refs log tree commit diff
path: root/hosts/carmel
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2022-02-14 17:52:35 -0800
committerFranck Cuny <franck@fcuny.net>2022-02-14 17:54:51 -0800
commit1a281df249cd92ec4f80240d8c76b66e02ac61d6 (patch)
treed6d311f15ad5a44c2ae65be17073234dbacd0a25 /hosts/carmel
parentwaybar: initial customization (diff)
downloadworld-1a281df249cd92ec4f80240d8c76b66e02ac61d6.tar.gz
hosts: add a new subvolumes to carmel
Create a subvolume named 'media' that we will mount under
/home/fcuny/media so we can snapshots /home/fcuny without the medias.
Diffstat (limited to 'hosts/carmel')
-rw-r--r--hosts/carmel/hardware-configuration.nix6
1 files changed, 6 insertions, 0 deletions
diff --git a/hosts/carmel/hardware-configuration.nix b/hosts/carmel/hardware-configuration.nix
index 17aba16..4ab03e7 100644
--- a/hosts/carmel/hardware-configuration.nix
+++ b/hosts/carmel/hardware-configuration.nix
@@ -27,6 +27,12 @@
       options = [ "subvol=home" ];
     };
 
+  fileSystems."/home/fcuny/media" =
+    { device = "/dev/disk/by-uuid/7d4e07d8-1104-4ab8-8ead-8ca28da2d344";
+      fsType = "btrfs";
+      options = [ "subvol=media" ];
+    };
+
   fileSystems."/.snapshots" =
     { device = "/dev/disk/by-uuid/7d4e07d8-1104-4ab8-8ead-8ca28da2d344";
       fsType = "btrfs";