anchor.diff:          };
   
           exports = mkOption {
  -          default = "/etc/exports";
  +          check = v: v != "/etc/exports"; # this won't work
             description = "
               the file listing the directories to be exported.
               install nfsUtils and run man exports to learn about its format.
               The exports setting can either be a file path or the file contents.
  +            Don't use /etc/exports. This won't work as nix will overwrite it.
             ";
           };
   
  
positive.code: 	  
  	  ${if cfg.createMountPoints == true then
  	    ''
  	      cat /etc/exports | while read line
  	      do
  	        for i in $line
  		do
  		  mkdir -p $i
  		  break
  		done
  	      done
  	    ''
  	    else ""}
  	    	  
            exportfs -ra
          end script
  
  
negative.code:           mkdir -p /var/lib/nfs
          end script
  
          respawn ${pkgs.nfsUtils}/sbin/rpc.statd -F
        '';
      }
      ];
  