anchor.diff:            + "echo ${cfg.path}/bin/switch-to-configuration test "
             + "| ${pkgs.socat}/bin/socat unix:${cfg.root}/var/lib/root-shell.socket -'";
   
  -      }) config.systemd.containers;
  +      }) config.containers;
   
       # Generate /etc/hosts entries for the containers.
       networking.extraHosts = concatStrings (mapAttrsToList (name: cfg: optionalString (cfg.localAddress != null)
         ''
           ${cfg.localAddress} ${name}.containers
  -      '') config.systemd.containers);
  -
  -    environment.systemPackages = optional (config.systemd.containers != {}) nixos-container-shell;
  +      '') config.containers);
  +
  +    environment.systemPackages = optional (config.containers != {}) nixos-container-shell;
   
     };
   }
  
positive.code:       '';
      };
  
      systemd.containers = mkOption {
        type = types.attrsOf (types.submodule (
          { config, options, name, ... }:
          {
  
negative.code:                         imports = [ ./container-login.nix ];
                        };
                      in [ extraConfig config.config ];
                    prefix = [ "containers" name ];
                  }).config.system.build.toplevel;
                })
              ];
  