testing idmap for nfs
This commit is contained in:
parent
c3d1333538
commit
edcf3220a0
2 changed files with 59 additions and 1 deletions
|
@ -10,7 +10,24 @@
|
|||
];
|
||||
|
||||
# Enable RPC services for NFS
|
||||
services.rpcbind.enable = true; # NFS server configuration
|
||||
services.rpcbind.enable = true;
|
||||
|
||||
# NFSv4 ID mapping service
|
||||
services.nfs.idmapd = {
|
||||
enable = true;
|
||||
settings = {
|
||||
General = {
|
||||
Domain = "home.lab"; # Same domain on all machines
|
||||
Verbosity = 0;
|
||||
};
|
||||
Mapping = {
|
||||
Nobody-User = "nobody";
|
||||
Nobody-Group = "nogroup";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
# NFS server configuration
|
||||
services.nfs.server = {
|
||||
enable = true;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue