summary refs log tree commit diff stats
path: root/hardware-configuration.nix
diff options
context:
space:
mode:
authorsils <sils@sils.li>2023-01-17 19:04:51 +0100
committersils <sils@sils.li>2023-01-17 19:04:51 +0100
commita66aa3a88217675a22b443043e5e6d6e8bad0381 (patch)
tree5b19f05cb2e4bef2ce91fcc5f65bd24afe78d530 /hardware-configuration.nix
parentMerge pull request 'Fix: Import pkgs and improve security' (#8) from server1_... (diff)
parentFeat: Added /boot as persistent subvolume (diff)
downloadnixos-server-a66aa3a88217675a22b443043e5e6d6e8bad0381.tar.gz
nixos-server-a66aa3a88217675a22b443043e5e6d6e8bad0381.zip
Merge pull request 'Feat: Added /boot as persistent subvolume' (#10) from server1_boot into server1
Reviewed-on: https://git.sils.li/vhack.eu/nixos-server/pulls/10
Reviewed-by: sils <sils@sils.li>
Diffstat (limited to 'hardware-configuration.nix')
-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"];
+    };
   };
 }