Is it possible to set `containers.<name>.config` from one of the generated `nixosConfigurations`?
Nobody has claimed this yet.
- Dominant language
- Nix
- Stars
- 628
- Forks
- 64
- PR merge metrics
- No merged PRs in 30d
Description
I have a NixOS server configured via my snowfall-lib flake on which I want to run a systemd-nspawn machine via containers options. I'm curious if it is possible to wire in its config from a Snowfall-defined system. I see that systems is passed in as an argument to each system module, but in my brief experimentation I couldn't see how to reference one of those systems in a way that worked.
Is this possible?
Thanks for the great project :)
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by tracing how generated nixosConfigurations are passed through the systems argument into system modules, then examine how containers..config is evaluated. Confirm whether a Snowfall-defined system can supply that value and document the supported wiring or the limitation.
Written by the indexing model from the issue text.
Assessment
- Domain
- operating-systems
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100