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

Implement demo function in default.nix #696

Closed
erictapen opened this issue Apr 1, 2025 · 0 comments · Fixed by #613
Closed

Implement demo function in default.nix #696

erictapen opened this issue Apr 1, 2025 · 0 comments · Fixed by #613
Assignees
Labels
infra Work on Ngipkgs itself, and related infrastructure

Comments

@erictapen
Copy link
Contributor

For #614 we need to expose a function that takes a module and builds a VM start script that contains a working system with some sensible defaults, both for the guest system and the way we start the KVM VM.

# default.nix
let
  ngipkgs = import (builtins.fetchTarball "https://github.com/ngi-nix/ngipkgs/tarball/main") { };
in
ngipkgs.demo {
  services.cryptpad.enable = true;
}
@erictapen erictapen added the infra Work on Ngipkgs itself, and related infrastructure label Apr 1, 2025
@github-project-automation github-project-automation bot moved this to Needs refinement in Nix@NGI Apr 1, 2025
@imincik imincik moved this from Needs refinement to In progress in Nix@NGI Apr 1, 2025
@github-project-automation github-project-automation bot moved this from In progress to Done in Nix@NGI Apr 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
infra Work on Ngipkgs itself, and related infrastructure
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

2 participants