Small changes to NFS and Pinebook
This commit is contained in:
parent
9a227d4397
commit
be2d200bfb
|
@ -23,7 +23,7 @@
|
||||||
fsType = "vfat";
|
fsType = "vfat";
|
||||||
options = [ "fmask=0022" "dmask=0022" ];
|
options = [ "fmask=0022" "dmask=0022" ];
|
||||||
};
|
};
|
||||||
"/home/jimbo/Bulk" = {
|
"/home/jimbo/Downloads" = {
|
||||||
device = "/dev/disk/by-uuid/f0b6cf4e-9576-4ab5-96ae-2a7e57599a35";
|
device = "/dev/disk/by-uuid/f0b6cf4e-9576-4ab5-96ae-2a7e57599a35";
|
||||||
fsType = "btrfs";
|
fsType = "btrfs";
|
||||||
};
|
};
|
||||||
|
|
|
@ -1,11 +1,9 @@
|
||||||
{
|
{
|
||||||
# NFS server
|
# NFS server
|
||||||
services.nfs.server = let
|
services.nfs.server = {
|
||||||
ips = import ../modules/ips.nix;
|
|
||||||
in {
|
|
||||||
enable = true;
|
enable = true;
|
||||||
exports = ''
|
exports = ''
|
||||||
/export/JimboNFS ${ips.localSpan}.0/24(rw,no_subtree_check)
|
/export/JimboNFS 0.0.0.0(rw,no_subtree_check)
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue