The file global-config.nix is a module loaded by the very outermost flake which contains various global options.

These include stuff like settings for nixpkgs like allowUnfree which allows the use of packages without a free licence like Obsidian.