aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWolfQuery <qwertman783@outlook.com>2026-04-14 19:35:01 +0200
committerWolfQuery <qwertman783@outlook.com>2026-04-14 19:35:01 +0200
commit7000bb210b405aebab3e21927ec69f13d0612c5b (patch)
treed17b0fb0385867e40a276ccd231c2720c9ed65fa
parent4e438bebc975e7176adf0604e514a0e22f6bee31 (diff)
added configuration for the nix store (on a separate partition labeled nixstore to enable all btrfs compression
-rw-r--r--hosts/herra/configuration.nix1
-rw-r--r--hosts/herra/file-system.nix7
2 files changed, 8 insertions, 0 deletions
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