-
-
Notifications
You must be signed in to change notification settings - Fork 15.3k
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
NetworkManager nixos: add noDns option #39921
Conversation
Being able to set conflicting options like |
Maybe the automatic detection could enabled only if |
That doesn't seem intuitive. How about an |
Even better! I'll get to work! Do I keep but deprecate the old useDnsmasq option? |
6084ed8
to
d52d1fc
Compare
You can deprecate by adding it here: https://github.com/NixOS/nixpkgs/blob/master/nixos/modules/rename.nix and then removing it accordingly. When deprecating an option please also add a notice to the release notes. |
e0bf7b6
to
a85b861
Compare
Aha, thanks! |
type = types.bool; | ||
default = false; | ||
dns = mkOption { | ||
type = types.enum ["auto" "dnsmasq" "none"]; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nitpick - can you add spaces inside the list [ "auto" "dnsmasq" "none" ]
And if you can fix the merge conflict, I'll go ahead and merge this. |
@peterhoeg Awesome, thanks! Rebased :) |
Thank you for doing up the PR and the quick turnaround time! |
No touchy tha DNS!
Would it be better to add a general
dns
enum?