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

NixOS-based image support #8

Closed
roberth opened this issue Jan 6, 2019 · 1 comment
Closed

NixOS-based image support #8

roberth opened this issue Jan 6, 2019 · 1 comment
Labels
enhancement New feature or request

Comments

@roberth
Copy link
Member

roberth commented Jan 6, 2019

Using NixOS inside a service is already possible, but not well integrated into Arion. A 'standard' interface seems helpful because it should make switching between init systems easier. For instance, it creates a standard way to add NixOS options to docker-compose services.

  • Service-level option for NixOS configuration to be written by user
    • cast to list of modules
    • merge function is list concatenation
  • Service-level option for evaluated NixOS configuration to be read by user or internal module
    • defined by calling pkgs.nixos function with these modules
  • Internal option and module for nlewo's nix-container-images moved to S6 init system support #24
    • may or may not be able to use generalized call to NixOS
    • may need to provide extra module to nix-container-images in order to support useHostStore properly
  • Internal option and module for services.systemd.*.runner-based containers
@roberth roberth added the enhancement New feature or request label Jan 6, 2019
@roberth roberth changed the title NixOS support NixOS-based image support Jan 13, 2019
@roberth
Copy link
Member Author

roberth commented Mar 5, 2019

There doesn't seem to be that much we can do for systemd runner based containers. Promoting that approach also seems like a bad idea.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant