Added mergerfs to server config

This commit is contained in:
FredzyW 2024-04-07 19:46:05 +02:00
parent 92691d7506
commit 0f939a4fa7

View file

@ -22,6 +22,15 @@
};
};
environment.systemPackages = with pkgs; [
mergerfs
];
fileSystems."/data" = {
fsType = "fuse.mergerfs";
device = "/mnt/drive*";
options = ["cache.files=partial" "dropcacheonclose=true" "category.create=mfs"];
};
nix.registry = (lib.mapAttrs (_: flake: {inherit flake;})) ((lib.filterAttrs (_: lib.isType "flake")) inputs);
nix.nixPath = ["/etc/nix/path"];