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

Flake: add package, module #458

Open
wants to merge 3 commits into
base: develop
Choose a base branch
from

Conversation

s1341
Copy link

@s1341 s1341 commented Dec 2, 2024

This PR adds a package and a nixosModule to the flake.nix.

For ease of testing, I also added a 'container' nixosConfiguration, which can be brought up by doing the following:

sudo nixos-container create asciinema --flake .#container
sudo nixos-container asciinema start

You should then be able to do:

export ASCIINEMA_API_URL=http://asciinema:4000
asciinema rec test.cast
asciinema upload test.cast

Note: for the package, it was necessary to set hashes on both the mixRelease and the rustPackage. Those will need to be updated as the code/dependencies change.

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

Successfully merging this pull request may close these issues.

1 participant