anchor.diff:               AUTO_START=1
              ''}
   
  -           EXTRABINDS="${mkBindFlags cfg.extraBinds}"
  +           EXTRABINDS="${mkBindFlags cfg.bindMounts}"
   
             '';
         }) 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)
  
positive.code:             exec ${config.systemd.package}/bin/systemd-nspawn \
                --keep-unit \
                -M "$INSTANCE" -D "$root" $extraFlags \
  	      $EXTRABINDS \
                --bind-ro=/nix/store \
                --bind-ro=/nix/var/nix/db \
                --bind-ro=/nix/var/nix/daemon-socket \
  
negative.code:               '';
              };
  
              bindMounts = mkOption {
                type = types.loaOf types.optionSet;
                options = [ bindMountOpts ];
                default = {};
                example = { "/home" = { hostPath = "/home/alice";
                                        isReadOnly = false; };
                          };
                          
                description =
                  ''
                    An extra list of directories that is bound to the container.
                  '';
              };
  
            };
  
  