NFS stuff

This commit is contained in:
Jimbo 2024-09-22 16:55:25 -06:00
parent a1414e534d
commit ea5cb4848e

View file

@ -88,11 +88,16 @@ in
# ]; # ];
# Define a user account. Don't forget to set a password with passwd. # Define a users and groups
users.users.nextcloud = { users = {
groups = {
nfsShare = {};
};
users.nextcloud = {
extraGroups = [ "nfsShare" ]; extraGroups = [ "nfsShare" ];
isSystemUser = true; isSystemUser = true;
}; };
};
# RTL-SDR Support # RTL-SDR Support
hardware.rtl-sdr.enable = true; hardware.rtl-sdr.enable = true;
@ -297,7 +302,7 @@ in
enable = true; enable = true;
# Allowing to 0.0.0.0 makes any IP the firewall allows in # Allowing to 0.0.0.0 makes any IP the firewall allows in
exports = '' exports = ''
/export/freecornNFS 0.0.0.0(rw,no_subtree_check) /export/freecornNFS *(rw,no_subtree_check)
''; '';
}; };