change mount paths

This commit is contained in:
♥ Minnie ♥ 2024-01-22 20:01:52 +08:00
parent 17d302cbdf
commit 5ae4e793e7
No known key found for this signature in database

View file

@ -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 = [