diff --git a/configuration.nix b/configuration.nix index 1b80e1a..20cb5ef 100644 --- a/configuration.nix +++ b/configuration.nix @@ -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) ''; };