2 ms·
You'd really need to set the package to a specific overridden version of nginx. See here for how to make such an override: https://blog.thomasheartman.com/posts
by xena 5y ago
You'd really need to set the package to a specific overridden version of nginx. See here for how to make such an override: https://blog.thomasheartman.com/posts/nix-override-packages-with-overlays https://blog.thomasheartman.com/posts/nix-override-packages-.... Then you would set `services.nginx.package = pkgs.nginx.override ...;`.
- alberth 5y agoThank you so much.
- xena 5y agoNo problem. If you have any more questions please get in touch on https://christine.website/contact https://christine.website/contact. This shit needs to be so much easier than it is. I'm also @xena on keybase if that's your tool of choice.
- alberth 5y agoOne more random question... What's your thoughts on a NixOS like operating system for FreeBSD? And have you seen any development effort for it (I don't mean the package manager for FreeBSD which already exists). Frankly, FreeBSD being an entire operating system with userland included seems way more appealing to me than Linux based NixOS - since it seems like reproductability would be even easier/stronger for BSD than Linux.
- xena 5y agoIt would be a really cool thing to see a NixOS like FreeBSD system done, but I really don't have it in me to do such a thing. It would make BSD more usable for me, save the lack of a solid service management framework like systemd. As far as reproducibility goes, in practice most of the invariants that are not reproducible go down to people embedding way too much metadata into things for no good reason. A BSD base would certainly remove a bunch of variables, but it's not magic reproducibility sauce.