From ea5cb4848eb6b89b9852d6fe51997d6f842265ad Mon Sep 17 00:00:00 2001 From: Jimbo Date: Sun, 22 Sep 2024 16:55:25 -0600 Subject: [PATCH] NFS stuff --- configuration.nix | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) 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) ''; };