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

Disable DHCP in NixOS-based containers #227

Open
roberth opened this issue Dec 30, 2023 · 0 comments
Open

Disable DHCP in NixOS-based containers #227

roberth opened this issue Dec 30, 2023 · 0 comments

Comments

@roberth
Copy link
Member

roberth commented Dec 30, 2023

This seems like something we should disable in all cases, as DHCP is not really a container level concern, and as far as I know the container runtime should configure the container network, and not through an indirection like DHCP.

I think we should have a file analogous to service/nixos-init.nix except its configuration is always enabled. service/nixos-defaults.nix? And then a module nixos/defaults.nix that actually does the disabling. Does that make sense?

Originally posted by @roberth in #199 (comment)

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

No branches or pull requests

1 participant