summaryrefslogtreecommitdiff
path: root/hostnix
diff options
context:
space:
mode:
Diffstat (limited to 'hostnix')
-rw-r--r--hostnix/elmo/hardware-configuration.nix10
1 files changed, 8 insertions, 2 deletions
diff --git a/hostnix/elmo/hardware-configuration.nix b/hostnix/elmo/hardware-configuration.nix
index 88d1073..fa7627d 100644
--- a/hostnix/elmo/hardware-configuration.nix
+++ b/hostnix/elmo/hardware-configuration.nix
@@ -34,13 +34,19 @@
fileSystems."/srv" =
{ device = "/dev/disk/by-uuid/288b0110-1816-4cc7-8cd9-9c019ebd0036";
fsType = "btrfs";
- options = [ "subvol=@srv" ];
+ options = [ "subvol=@srv" "compress=zstd" ];
+ };
+
+ fileSystems."/srv/restic" =
+ { device = "/dev/disk/by-uuid/288b0110-1816-4cc7-8cd9-9c019ebd0036";
+ fsType = "btrfs";
+ options = [ "subvol=@srv-restic" "compress=zstd" ];
};
fileSystems."/var" =
{ device = "/dev/disk/by-uuid/288b0110-1816-4cc7-8cd9-9c019ebd0036";
fsType = "btrfs";
- options = [ "subvol=@var" ];
+ options = [ "subvol=@var" "compress=zstd" ];
};
fileSystems."/boot" =