summary refs log tree commit diff stats
path: root/hardware-configuration.nix
diff options
context:
space:
mode:
authorene <ene@sils.li>2023-01-17 07:38:26 +0100
committerene <ene@sils.li>2023-01-17 07:44:17 +0100
commit128e406db0d5d27db523f15ff5126ed9ea056bb9 (patch)
tree5b19f05cb2e4bef2ce91fcc5f65bd24afe78d530 /hardware-configuration.nix
parentMerge pull request 'Fix: Import pkgs and improve security' (#8) from server1_... (diff)
downloadnixos-server-128e406db0d5d27db523f15ff5126ed9ea056bb9.tar.gz
nixos-server-128e406db0d5d27db523f15ff5126ed9ea056bb9.zip
Feat: Added /boot as persistent subvolume
Co-authored-by: sils <sils@sils.li>
Diffstat (limited to '')
-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"];
+    };
   };
 }