diff options
author | ene <ene@sils.li> | 2023-01-17 07:38:26 +0100 |
---|---|---|
committer | ene <ene@sils.li> | 2023-01-17 07:44:17 +0100 |
commit | 128e406db0d5d27db523f15ff5126ed9ea056bb9 (patch) | |
tree | 5b19f05cb2e4bef2ce91fcc5f65bd24afe78d530 /hardware-configuration.nix | |
parent | Merge pull request 'Fix: Import pkgs and improve security' (#8) from server1_... (diff) | |
download | nixos-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.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"]; + }; }; } |