From 453bb3611a69df0d306cdbc7a0dcc5b1b0b0fee2 Mon Sep 17 00:00:00 2001 From: Ricard Illa Date: Tue, 12 Jul 2022 12:20:36 +0200 Subject: [PATCH] trantor: data and logs mounts --- trantor.nix | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/trantor.nix b/trantor.nix index a65acd1..10e5026 100644 --- a/trantor.nix +++ b/trantor.nix @@ -27,12 +27,26 @@ in { neededForBoot = true; }; + "/data" = { + device = "/dev/mapper/user"; + fsType = "btrfs"; + options = [ "subvol=data" "compress=zstd" ]; + neededForBoot = true; + }; + "/nix" = { device = "/dev/mapper/system"; fsType = "btrfs"; options = [ "subvol=nix" "compress=zstd" ]; }; + "/logs" = { + device = "/dev/mapper/system"; + fsType = "btrfs"; + options = [ "subvol=logs" "compress=zstd" ]; + neededForBoot = true; + }; + "/boot" = { device = "/dev/mapper/system"; fsType = "btrfs";