storage: add snapraid
Some checks failed
Plex Update / update (push) Successful in 1m53s
Lint / lint (push) Failing after 1m37s

This commit is contained in:
Vivian 2023-12-29 02:23:21 +01:00
parent f59148622e
commit 0d56d1674c
4 changed files with 44 additions and 36 deletions

View file

@ -1,6 +1,6 @@
{ pkgs, ... }: {
environment.systemPackages = with pkgs; [ mergerfs ];
environment.systemPackages = with pkgs; [ mergerfs mergerfs-tools ];
fileSystems."/mnt/disk1" = {
fsType = "ext4";
@ -57,11 +57,4 @@
"category.create=mfs"
];
};
services.nfs.server = {
enable = true;
exports = ''
/mnt/storage *(rw,async,no_subtree_check,fsid=0,all_squash,anonuid=0,anongid=0)
'';
};
}