| 12345678910111213141516171819202122232425 |
- { pkgs, ... }:
- {
- environment.systemPackages = with pkgs; [
- mergerfs
- mergerfs-tools
- ];
- fileSystems."/mnt/storage" = {
- device = "/mnt/data*";
- options = [
- "category.create=mfs"
- "defaults"
- "allow_other"
- "use_ino"
- "moveonenospc=true"
- "minfreespace=25G"
- "func.getattr=newest"
- "fsname=storage"
- "uid=1000"
- "gid=1000"
- "umask=002"
- ];
- fsType = "fuse.mergerfs";
- };
- }
|