anchor.diff:    in
     ''
       gitlab.start()
  +
       gitlab.wait_for_unit("gitaly.service")
       gitlab.wait_for_unit("gitlab-workhorse.service")
  +    gitlab.wait_for_unit("gitlab-pages.service")
  +    gitlab.wait_for_unit("gitlab-mailroom.service")
       gitlab.wait_for_unit("gitlab.service")
       gitlab.wait_for_unit("gitlab-sidekiq.service")
       gitlab.wait_for_file("/var/gitlab/state/tmp/sockets/gitlab.socket")
       gitlab.wait_until_succeeds("curl -sSf http://gitlab/users/sign_in")
  +
       gitlab.succeed(
           "curl -isSf http://gitlab | grep -i location | grep -q http://gitlab/users/sign_in"
       )
  
positive.code:         };
        };
  
        services.gitlab = {
          enable = true;
          databasePasswordFile = pkgs.writeText "dbPassword" "xo0daiF4";
          initialRootPasswordFile = pkgs.writeText "rootPassword" initialRootPassword;
          smtp.enable = true;
          secrets = {
            secretFile = pkgs.writeText "secret" "r8X9keSKynU7p4aKlh4GO1Bo77g5a7vj";
            otpFile = pkgs.writeText "otpsecret" "Zu5hGx3YvQx40DvI8WoZJQpX2paSDOlG";
  
negative.code: 
    nodes = {
      gitlab = { ... }: {
        imports = [ common/user-account.nix ];
  
        virtualisation.memorySize = if pkgs.stdenv.is64bit then 4096 else 2047;
        systemd.services.gitlab.serviceConfig.Restart = mkForce "no";
        systemd.services.gitlab-workhorse.serviceConfig.Restart = mkForce "no";
  