Stream: nixos

Topic: NixBSD, it's NixOS on FreeBSD


view this post on Zulip Andreas (Apr 03 2024 at 08:57):

Yesterday I came across a particular project trying to port something like NixOS to the FreeBSD ecosystem.

https://github.com/nixos-bsd/nixbsd

For now they are maintaining their own fork of nixpkgs and some patches to the nix evaluator and are now trying to build something like a module system for FreeBSD.

As I've been redoing my OPNsense router, which is based on FreeBSD 13, I had an idea. I am not so much interested in having an entire NixOS on FreeBSD. However: Would it be possible to build something like process-compose flakes on FreeBSD-based systems with this?

That would be really neat for extending OPNsense or PFsense with just about anything that can be compiled for FreeBSD.

view this post on Zulip Andreas (Apr 04 2024 at 12:22):

Nobody here any interested in being Free with Nix on FreeBSD? :grinning_face_with_smiling_eyes:

view this post on Zulip Tim DeHerrera (Apr 04 2024 at 13:42):

Well I tried Nix on freebsd a few years ago. It would be pretty cool to use it more like NixOS for sure, might give me more incentive to use it again

view this post on Zulip Andreas (Apr 04 2024 at 13:53):

I wouldn't want to redo the whole FreeBSD system to be like a Nix-infected borg drone. First and foremost my use-case would be to extend firewalls like pfsense / opnsense with Nix-managed services.

Using something like process-compose flake on FreeBSD would be really great. Containerization is still a bit iffy on the platform, even though there is an experimental podman built now I believe.


Last updated: Nov 15 2024 at 12:33 UTC