Our great sponsors
-
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.
-
template-nixos
The NixOS template, configured for Gitpod (www.gitpod.io) to give you pre-built, nix based ephemeral operating system environments in the cloud.
Looks like he renamed (or recreated) the repository:
https://github.com/wagdav/wagdav.github.com/blob/main/flake....
I used this exact idea to do not just containers but cross compiled containers with cached artifacts using cachix, https://github.com/openenergysolutions/openfmb.adapter for a sizeable example perhaps
Not sure of any writing that ties all of the pieces together, but I made a small example for you: https://github.com/jvolkman/bazel-nix-example
If you want to take nixos for a spin in your browser head to https://github.com/gitpod-io/template-nixos and mash the button.
Also https://nix.dev is one of the better learning resources. Over at https://GitHub.com/ghuntley/ghuntley you'll find a workshop I created on Nix.
If your dependency is on GitHub, this tool makes it super easy. https://github.com/seppeljordan/nix-prefetch-github
Here's the gitlab-runner configuration I mentioned in the post (can't edit anymore)[1]. With this you benefit of local caching that nix does. What this means is that if you have a branch and it compiled, and run test. Then as you merge and no source files changed (which happens most of the time), the build on master is instant.
[1] https://github.com/NixOS/nixpkgs/blob/ce38fecabe49a76fcd08d0...