modules.services.nfs: fix

This commit is contained in:
陈浩南 2024-09-26 13:27:16 +08:00
parent 4fea6edcad
commit c80617c6c0

View File

@ -18,7 +18,7 @@ inputs:
nfs.server =
{
enable = true;
exports = "${nfs.root} ${nfs.accessLimit}(rw,no_root_squash,fsid=0,sync,crossmnt)"
exports = "${nfs.root} ${nfs.accessLimit}(rw,no_root_squash,fsid=0,sync,crossmnt)\n"
+ builtins.concatStringsSep "\n" (builtins.map
(export: "${export} ${nfs.accessLimit}(rw,no_root_squash,sync,crossmnt)")
nfs.exports);