setup shares subvolume
This commit is contained in:
parent
d5c0320eee
commit
038971e4bf
|
@ -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";
|
||||
|
|
|
@ -19,5 +19,15 @@
|
|||
compression = "auto,zstd";
|
||||
startAt = "daily";
|
||||
};
|
||||
|
||||
shares = {
|
||||
paths = [
|
||||
"/srv/shares"
|
||||
];
|
||||
encryption.mode = "none";
|
||||
repo = "/srv/backup/shares";
|
||||
compression = "auto,zstd";
|
||||
startAt = "daily";
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue