Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
nix flake: use
lib.mkAfter
to allow extraHosts
At present, if a user uses ``networking.stevenBlockHosts.enable = true`` in tandem with ``networking.extraHosts``, the ``extraHosts`` will override this Flake which is an unexpected behavior. By using ``lib.mkAfter``, a user can now prepend extra hosts. Meaning: .. code:: nix { networking = { stevenBlockHosts.enable = true; extraHosts = '' 127.0.0.1 myproject.localhost ''; }; } will now output .. code:: 127.0.0.1 localhost ::1 localhost 127.0.0.1 myproject.localhost # Title: StevenBlack/hosts with the fakenews extension # # … instead of removing StevenBlack/hosts. Format: text/x-rst
- Loading branch information