NFS stuff
This commit is contained in:
parent
a1414e534d
commit
ea5cb4848e
|
@ -88,11 +88,16 @@ in
|
|||
# ];
|
||||
|
||||
|
||||
# Define a user account. Don't forget to set a password with ‘passwd’.
|
||||
users.users.nextcloud = {
|
||||
# Define a users and groups
|
||||
users = {
|
||||
groups = {
|
||||
nfsShare = {};
|
||||
};
|
||||
users.nextcloud = {
|
||||
extraGroups = [ "nfsShare" ];
|
||||
isSystemUser = true;
|
||||
};
|
||||
};
|
||||
|
||||
# RTL-SDR Support
|
||||
hardware.rtl-sdr.enable = true;
|
||||
|
@ -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)
|
||||
'';
|
||||
};
|
||||
|
||||
|
|
Reference in a new issue