modules/containers: a hacc-specific containers module #11
Loading…
Reference in a new issue
No description provided.
Delete branch "hacc.containers"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
this started with emily pointing out to me that it's possible to generate IP addresses for containers in Nix (hence no need to worry about ever having collisions, as we had before), but then I thought, hey, while I'm at it, I can also write a little container module so we have a little less repetition in our configs in general (and a more reasonable place for our custom evalConfig than just keeping it around in flake.nix).
See the option descriptions in modules/containers.nix for further details.
Apart from giving all containers a new IP address (and also shiny new IPv6 addresses), this should be a no-op for the actual built system.
I've not deployed this yet (though afaict this should "just work"), for now it's just meant as an idea. Anyone got opinions on this?
I think it's a good idea and makes the config easier to read/understand.
I've found nothing obviously wrong with this, so I guess, you can go ahead and test it.
Feel free to let me know, if you want any support
seems to work as expected, have merged it