storage: add snapraid
This commit is contained in:
parent
f59148622e
commit
0d56d1674c
4 changed files with 44 additions and 36 deletions
|
@ -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)
|
||||
'';
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue