Open
Conversation
Contributor
Author
|
update: i ended up testing both of these features and they work great. i will try to find some time to write a test for this and then mark as ready for review. |
Contributor
Author
Member
|
@aanderse you can do that as follows: nix build -vL '.#checks.x86_64-linux.vm-test-example-ubuntu_23_04_cloudimg.driverInteractive'
./result/bin/run-vmand then you'll get the usual TUI for interactive NixOS tests. From there, you can start the nodes and run the test script with start_all()
test_script()and you have things like I just tested this on the main branch and it works for me. Let me know if you're still stuck! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
this PR is still an early WIP but i thought it best to publish my work as soon as possible in case:
this PR adds a few more options/implements functionality from nixos:
systemd.user.*optionssystemd.packagesso you can utilize upstream systemd units that live in nixpkgs packagesthe latter is particularly useful to a large audience
testing and further details to follow, though as mentioned above... if this functionality is absolutely not wanted by numtide i would love to hear sooner rather than later ❤️