migrate containers and services to data drive
This commit is contained in:
parent
c1a5ed1d4f
commit
77d82dd853
|
@ -60,13 +60,13 @@ in {
|
||||||
};
|
};
|
||||||
|
|
||||||
fileSystems."/srv/containers" = {
|
fileSystems."/srv/containers" = {
|
||||||
device = "/dev/disk/by-label/${hostname}";
|
device = "/dev/disk/by-label/data";
|
||||||
fsType = "btrfs";
|
fsType = "btrfs";
|
||||||
options = ["subvol=containers" "compress=zstd"];
|
options = ["subvol=containers" "compress=zstd"];
|
||||||
};
|
};
|
||||||
|
|
||||||
fileSystems."/srv/services" = {
|
fileSystems."/srv/services" = {
|
||||||
device = "/dev/disk/by-label/${hostname}";
|
device = "/dev/disk/by-label/data";
|
||||||
fsType = "btrfs";
|
fsType = "btrfs";
|
||||||
options = ["subvol=services" "compress=zstd"];
|
options = ["subvol=services" "compress=zstd"];
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue