NFS stuff

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

View file

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