anchor.diff:                '';
               };
   
  -            extraBindsRO = mkOption {
  -              type = types.listOf types.str;
  +            extraBinds = mkOption {
  +              type = types.listOf types.attrs;
   	      default = [];
  -	      example = [ "/home/alice" ];
  +	      example = [ { host = "/home/alice";
  +                            container = "/home";
  +			    isReadOnly = false; }
  +                        ];
                 description =
   	        ''
  -                  An extra list of directories that is bound to the container with read-only permission. 
  +                  An extra list of directories that is bound to the container.
                   '';
               };
   
  -            extraBindsRW = mkOption {
  -              type = types.listOf types.str;
  -	      default = [];
  -	      example = [ "/home/alice" ];
  -              description =
  -	        ''
  -                  An extra list of directories that is bound to the container with read-only permission. 
  -                '';
  -            };
  +            #extraBindsRW = mkOption {
  +            #  type = types.listOf types.str;
  +	    # default = [];
  +	    #  example = [ "/home/alice" ];
  +            #  description =
  +	    #    ''
  +            #      An extra list of directories that is bound to the container with read-only permission. 
  +            #    '';
  +            #};
   
             };
   
  
positive.code: 
    system = config.nixpkgs.system;
  
  in
  
  {
  
negative.code:              AUTO_START=1
             ''}
  
             EXTRABINDS="${mkBindFlags cfg.extraBinds}"
  
            '';
        }) config.containers;
  
      #"${concatMapStrings (d: " --bind-ro=${d}") cfg.extraBindsRO + concatMapStrings (d: " --bind=${d}") cfg.extraBindsRW}"
  
  
      # Generate /etc/hosts entries for the containers.
      networking.extraHosts = concatStrings (mapAttrsToList (name: cfg: optionalString (cfg.localAddress != null)
  