Our great sponsors
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
-
gokrazy
turn your Go program(s) into an appliance running on the Raspberry Pi 3, Pi 4, Pi Zero 2 W, or amd64 PCs!
You can run containers on NixOS (also through systemd) and get the same benefits explained in this article. NixOS supports both Podman and Docker as a runtime. There is also the option to run NixOS containers. See: https://nixos.wiki/wiki/NixOS_Containers.
The Docker Compose story is a bit rough around the edges, though. I’m actually working on a tool to automatically convert a Compose file into a NixOS config you can import as-is. Still kinda early, but the skeleton works: https://github.com/aksiksi/compose2nix
> Channels are, AFAIU, a reference to some point-in-time/commit/version of nixpkgs
It's not specifically nixpkgs, but any Nix code generally.
Per the Nix manual[0]:
> Channels are a mechanism for referencing remote Nix expressions and conveniently retrieving their latest version.
e.g. home-manager's suggested channel is just the github tarball for the relevant branch[1]:
nix-channel --add https://github.com/nix-community/home-manager/archive/master.tar.gz home-manager
e.g. I think it's common for users to share their config or sets of packages with something like a "nix user repository" https://github.com/nix-community/nur-packages-template
I think things are pretty good with nixos-anywhere[1] now. I made a video last month walking through the process of provisioning a VPS on Hetzner Cloud[2] if you want to see what the process looks like in real-time.
[1]:https://github.com/nix-community/nixos-anywhere
[2]: https://www.youtube.com/watch?v=wr22CyoyRo4
I've been trying to encourage people to give NixOS in VMs a try as a safe way to build up a nice working environment while still maintaining your daily driver until you're interested in/ready to switch. I have a starter template for NixOS on WSL[1] with an accompanying walkthrough[2] if you want to get an idea of how much effort this might require on your part.
[1]: https://github.com/LGUG2Z/nixos-wsl-starter
[2]: https://www.youtube.com/watch?v=UmRXXYxq8k4
You can also configure the consumer to consume it over ssh without special setup on the host. But it opens a connection for every single request so it ends up killing the performance [1]
[1] - https://github.com/NixOS/nix/issues/8794
What you are looking for is UBlue, https://github.com/ublue-os/main.
It's a variant of Silverblue with Nvidia drivers built in.