You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 :)
The text was updated successfully, but these errors were encountered:
nixos modules get called with an inputs arg, which has inputs.self.nixosConfigurations. I use it to construct services.prometheus.scrapeConfigs by looking at all the config.services.prometheus.exporters for each configuration in inputs.self.nixosConfigurations.
Am I understanding correctly in saying you're trying to do something roughly analogous to:
I have a NixOS server configured via my snowfall-lib flake on which I want to run a
systemd-nspawn
machine viacontainers
options. I'm curious if it is possible to wire in its config from a Snowfall-defined system. I see thatsystems
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 :)
The text was updated successfully, but these errors were encountered: