Personal-use NixOS configuration
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Fixes for mkShares

encode42 d57ba4d7 540ba81e

+2 -2
+2 -2
lib/mkShares.nix
··· 16 16 let 17 17 directories = lib.filter (x: x != "") (lib.splitString "/" target.path); 18 18 19 - exportPath = "/exports/${target.name or (lib.last directories)}"; 19 + exportPath = "/export/${target.name or (lib.last directories)}"; 20 20 21 21 mountName = builtins.elemAt directories 1; 22 22 isZfsPool = lib.elem mountName config.boot.zfs.extraPools; ··· 36 36 }; 37 37 38 38 nfsExport = '' 39 - "${exportPath}\" *(rw,insecure,async,no_subtree_check,nohide,all_squash,anonuid=${toString user.uid},anongid=${toString group.gid}) 39 + "${exportPath}" *(rw,insecure,async,no_subtree_check,nohide,all_squash,anonuid=${toString user.uid},anongid=${toString group.gid}) 40 40 ''; 41 41 }; 42 42