change mount paths
This commit is contained in:
parent
17d302cbdf
commit
5ae4e793e7
|
@ -24,14 +24,21 @@
|
||||||
fsType = "vfat";
|
fsType = "vfat";
|
||||||
};
|
};
|
||||||
|
|
||||||
fileSystems."/mnt/data" = {
|
fileSystems."/srv/multimedia" = {
|
||||||
device = "/dev/disk/by-label/data";
|
device = "/dev/disk/by-label/multimedia";
|
||||||
fsType = "ext4";
|
fsType = "ext4";
|
||||||
};
|
};
|
||||||
|
|
||||||
fileSystems."/mnt/backup" = {
|
fileSystems."/srv/containers" = {
|
||||||
device = "/dev/disk/by-label/backup";
|
device = "/dev/disk/by-label/data";
|
||||||
fsType = "ext4";
|
fsType = "btrfs";
|
||||||
|
options = [ "subvol=containers" "compress=zstd" ];
|
||||||
|
};
|
||||||
|
|
||||||
|
fileSystems."/srv/backup" = {
|
||||||
|
device = "/dev/disk/by-label/data";
|
||||||
|
fsType = "btrfs";
|
||||||
|
options = [ "subvol=backup" "compress=zstd" ];
|
||||||
};
|
};
|
||||||
|
|
||||||
swapDevices = [
|
swapDevices = [
|
||||||
|
|
Loading…
Reference in a new issue