aboutsummaryrefslogtreecommitdiff
path: root/hosts/herra/file-system.nix
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 /hosts/herra/file-system.nix
parent4e438bebc975e7176adf0604e514a0e22f6bee31 (diff)
added configuration for the nix store (on a separate partition labeled nixstore to enable all btrfs compression
Diffstat (limited to 'hosts/herra/file-system.nix')
-rw-r--r--hosts/herra/file-system.nix7
1 files changed, 7 insertions, 0 deletions
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