Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add networking.hosts and .hostFiles from nixos #939

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

ibizaman
Copy link

@ibizaman ibizaman commented Apr 22, 2024

This code was taken nearly verbatim from
https://github.com/NixOS/nixpkgs/blob/nixos-unstable/nixos/modules/config/networking.nix

The few changes were related to making the default /etc/hosts match the Apple's stock one. This implied no 127.0.0.2 and forcing the IPV6 ::1 entry.

This code was taking nearly verbatim from
https://github.com/NixOS/nixpkgs/blob/nixos-unstable/nixos/modules/config/networking.nix

The few changes were related to making default /etc/hosts match the Apple's stock one. This implied
no 127.0.0.2 and forcing the IPV6 ::1 entry.
@willemml
Copy link

willemml commented May 5, 2024

Possible duplicate of #807? (my PR is older and doesn't have tests though, so maybe this should be preferred)

@ibizaman
Copy link
Author

ibizaman commented May 7, 2024

Sorry @willemml I missed your PR. I didn’t intend to duplicate work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants