aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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