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
Iodine: ipv6 support, updates, hardening, nixos test.... #79120
Conversation
@symphorien The commits for 73b8fdb and b2b6645 should be like
for the unstable version. |
@GrahamcOfBorg test iodine |
Adds ipv6 support
the released version is old and cannot reconnect after the first connection is closed. This is fixed in master.
Reworded the commits as required. |
example = "8.8.8.8"; | ||
}; | ||
|
||
extraConfig = mkOption { |
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.
Sounds more like extraArgs to me.
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.
I'd like not to do this renaming:
- it's a breaking change for an arguably low improvement
- iodine only means of configuration are arguments file so it's not ambiguous
- This appears in the diff because I reformatted the file with nixpkgs-fmt, but this is outside the scope of this PR. I welcome "en passant" improvements, but let's restrain ourselves to trivial changes.
}; | ||
|
||
passwordFile = mkOption { | ||
type = types.str; |
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.
Can probably be a path instead of a str, no?
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.
see details at #78640
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.
As far as I understand, it should be a non-path string, to the contrary. Please correct me if I'm wrong.
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.
See how it's done here
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.
I put uses of these options under toString
. Was that what you meant? (your link is 404)
Co-Authored-By: Martin Weinelt <mweinelt@users.noreply.github.com>
Co-Authored-By: Martin Weinelt <mweinelt@users.noreply.github.com>
Co-Authored-By: Martin Weinelt <mweinelt@users.noreply.github.com>
It should prevent copying the files to a store path
Can I request a new round of review now that most comments have been taken into account I think? |
This pull request has been mentioned on NixOS Discourse. There might be relevant details there: https://discourse.nixos.org/t/prs-ready-for-review-may-2019/3032/127 |
@ofborg test iodine |
Motivation for this change
I ran nixpkgs-fmt on the nixos module, so best reviewed commit by commit :)
Things done
Tested on a real setup.
sandbox
innix.conf
on non-NixOS linux)nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
./result/bin/
)nix path-info -S
before and after)