From 7000bb210b405aebab3e21927ec69f13d0612c5b Mon Sep 17 00:00:00 2001 From: WolfQuery Date: Tue, 14 Apr 2026 19:35:01 +0200 Subject: added configuration for the nix store (on a separate partition labeled nixstore to enable all btrfs compression --- hosts/herra/configuration.nix | 1 + hosts/herra/file-system.nix | 7 +++++++ 2 files changed, 8 insertions(+) create mode 100644 hosts/herra/file-system.nix (limited to 'hosts') diff --git a/hosts/herra/configuration.nix b/hosts/herra/configuration.nix index 2857ca1..34e1c32 100644 --- a/hosts/herra/configuration.nix +++ b/hosts/herra/configuration.nix @@ -5,6 +5,7 @@ }: { imports = [ ./hardware-configuration.nix + ./file-system.nix ./packages.nix ./audio.nix ./drivers.nix diff --git a/hosts/herra/file-system.nix b/hosts/herra/file-system.nix new file mode 100644 index 0000000..71a77fd --- /dev/null +++ b/hosts/herra/file-system.nix @@ -0,0 +1,7 @@ +{...}: { + fileSystems."/nix" = { + device = "/dev/disk/by-label/nixstore"; + fsType = "btrfs"; + options = [ "subvol=@nix" "compress=zstd:3" "noatime" ]; +}; +} \ No newline at end of file -- cgit v1.2.3