summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorene <ene@sils.li>2023-01-17 20:50:04 +0100
committerene <ene@sils.li>2023-01-17 20:50:04 +0100
commit3d423d6dd9783256cafe52e9935110c10468875f (patch)
treed8c787d56550746988bb18c987157d01ba2ce5b7
parentFix: Changed setting names (diff)
parentMerge pull request 'Feat: Added /boot as persistent subvolume' (#10) from ser... (diff)
downloadnixos-server-3d423d6dd9783256cafe52e9935110c10468875f.tar.gz
nixos-server-3d423d6dd9783256cafe52e9935110c10468875f.zip
Merge branch 'server1' into server1_rust-motd
-rw-r--r--hardware-configuration.nix4
1 files changed, 4 insertions, 0 deletions
diff --git a/hardware-configuration.nix b/hardware-configuration.nix
index d54f90a..9fcbe2b 100644
--- a/hardware-configuration.nix
+++ b/hardware-configuration.nix
@@ -23,5 +23,9 @@
       device = "/srv/nix-config";
       options = ["bind"];
     };
+    "/boot" = {
+      device = "/dev/vda3";
+      options = ["subvol=boot" "compress-force=zstd"];
+    };
   };
 }