19 lines
311 B
Nix
19 lines
311 B
Nix
|
{ pkgs, ... }:
|
||
|
{
|
||
|
|
||
|
environment.systemPackages = with pkgs; [
|
||
|
mergerfs
|
||
|
];
|
||
|
|
||
|
fileSystems."/storage" = {
|
||
|
fsType = "fuse.mergerfs";
|
||
|
device = "/mnt/disks/*";
|
||
|
options = ["cache.files=partial" "dropcacheonclose=true" "category.create=mfs"];
|
||
|
};
|
||
|
|
||
|
services.snapraid = {
|
||
|
enable = true;
|
||
|
|
||
|
};
|
||
|
|
||
|
}
|