setup shares subvolume

This commit is contained in:
♥ Minnie ♥ 2024-10-01 17:35:42 +08:00
parent d5c0320eee
commit 038971e4bf
Signed by: jasmine
GPG key ID: 8563E358D4E8040E
2 changed files with 16 additions and 0 deletions

View file

@ -77,6 +77,12 @@ in {
options = ["subvol=backup" "compress=zstd"];
};
fileSystems."/srv/shares" = {
device = "/dev/disk/by-label/data";
fsType = "btrfs";
options = ["subvol=shares" "compress=zstd"];
};
swapDevices = [
{
device = "/swap/swapfile";