From ca7450f55c5c88022dda9f5d7e7f56bf5da6f2c8 Mon Sep 17 00:00:00 2001 From: Noa Aarts Date: Tue, 26 Nov 2024 10:53:48 +0100 Subject: [PATCH] use btrfs for nix store --- hosts/lambdaos/hardware-configuration.nix | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/hosts/lambdaos/hardware-configuration.nix b/hosts/lambdaos/hardware-configuration.nix index 9f9950f..f536ec8 100644 --- a/hosts/lambdaos/hardware-configuration.nix +++ b/hosts/lambdaos/hardware-configuration.nix @@ -36,6 +36,16 @@ fsType = "vfat"; }; + fileSystems."/nix" = { + device = "/dev/disk/by-uuid/b64dfc95-05c7-40bb-879b-9820c84779dc"; + fsType = "btrfs"; + options = [ + "compress=zstd" + "noatime" + "subvol=nix" + ]; + }; + fileSystems."/home/noa/Pictures/library" = { device = "/dev/disk/by-uuid/93a74173-8719-4be2-86b3-dc80588b9cf8"; fsType = "ext4";