-
-
Notifications
You must be signed in to change notification settings - Fork 13.9k
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
nixos/scion: init #298737
nixos/scion: init #298737
Conversation
f57ff90
to
6d20e5d
Compare
6d20e5d
to
5e9b389
Compare
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 know almost nothing about SCION, so this is not really a review, but from what I can tell the Nix/NixOS sauce looks good. (Also @MatthewCroughan is giving me way too much credit)
61dcf55
to
d64045b
Compare
@roberth Done, I've added it in |
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.
@MatthewCroughan awesome job getting this push up! Its exciting to have the SCION modules and this freestanding test.
Had a couple of comments but overall I think this looks solid. I mentioned this for the control daemon but for all the daemons included here: Would it be possible to include a environment.etc."scion/<daemon>.conf".source = confFile;
? Its really nice to have the unit files reference things in /etc
instead of /nix/store
🙂
Running nix build .#nixosTests.scion-freestanding-deployment
passes with flying colors 🚀
d64045b
to
acb62fb
Compare
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.
acb62fb
to
d3ee5fe
Compare
These are the names of the binaries as they are distributed in some places. Upstream systemd services even depend upon these names, it is going to be helpful to keep this naming consistent, for bootstrapping
d3ee5fe
to
716f10c
Compare
maybe add the test to passthru.tests on the scion package? |
Description of changes
Adds nixosModules and an extensive VM Test for the SCION internet architecture which implements a 5 autonomous system network topology based upon upstream documentation
Thanks to @roberth for help with figuring out how to structure the modules and their naming.
VM test topology
Goals for a future PR, not this PR
/etc/ssh/ssh_host*
scion.enable = true
)Things done
nix.conf
? (See Nix manual)sandbox = relaxed
sandbox = true
nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD"
. Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/
)Add a 👍 reaction to pull requests you find important.