Explicitly define MergerFS sources

This commit is contained in:
Fern Garden 2025-07-25 17:21:33 +08:00
parent 9d57d788f6
commit d5d252ea1f

View file

@ -43,7 +43,7 @@
fileSystems."/media" = { fileSystems."/media" = {
fsType = "fuse.mergerfs"; fsType = "fuse.mergerfs";
depends = ["/mnt/hdd0" "/mnt/hdd1" "/mnt/hdd2"]; depends = ["/mnt/hdd0" "/mnt/hdd1" "/mnt/hdd2"];
device = "/mnt/hdd*"; device = "/mnt/hdd0:/mnt/hdd1:/mnt/hdd2";
options = ["cache.files=partial" "dropcacheonclose=true" "category.create=mfs" "func.getattr=newest"]; options = ["cache.files=partial" "dropcacheonclose=true" "category.create=mfs" "func.getattr=newest"];
}; };