Added mergerfs to server config
This commit is contained in:
parent
92691d7506
commit
0f939a4fa7
1 changed files with 9 additions and 0 deletions
|
@ -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.registry = (lib.mapAttrs (_: flake: {inherit flake;})) ((lib.filterAttrs (_: lib.isType "flake")) inputs);
|
||||||
|
|
||||||
nix.nixPath = ["/etc/nix/path"];
|
nix.nixPath = ["/etc/nix/path"];
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue