NixOS Flake setup that inherits from a Flake (Nix syntax issue)

Check out the “Under the hood” section on modules wiki page.

Basically by using mkForce you’re telling the evaluator how exactly the values should be merged. Check this thread for more detail.