diff options
author | sils <sils@sils.li> | 2023-01-17 19:04:51 +0100 |
---|---|---|
committer | sils <sils@sils.li> | 2023-01-17 19:04:51 +0100 |
commit | a66aa3a88217675a22b443043e5e6d6e8bad0381 (patch) | |
tree | 5b19f05cb2e4bef2ce91fcc5f65bd24afe78d530 /hardware-configuration.nix | |
parent | Merge pull request 'Fix: Import pkgs and improve security' (#8) from server1_... (diff) | |
parent | Feat: Added /boot as persistent subvolume (diff) | |
download | nixos-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.nix | 4 |
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"]; + }; }; } |