mirror of
https://github.com/foo-dogsquared/wiki.git
synced 2025-01-30 22:57:59 +00:00
b088086b06
Now, it's all under the notebook umbrella. Seems to be appropriate as it is just my notes after all. I also updated some notes from there. I didn't keep track of what it is this time. Something about more learning notes extracted from my "Learning how to learn" course notes and then some. Lack of time and hurriness just makes it difficult to track but it should be under version control already.
957 B
957 B
Command line: Niv
niv is a template generator for a quick start of creating a Nix environment with full reproducibility. It allows for a quick configuration of where to pin certain package sets (e.g., nixpkgs, NUR, your own package set) with a command line program.
niv init
- Configuring your pins with
niv show $SOURCE
and editingnix/sources.json
generated fromniv init
. - Using it by importing from your Nix files (e.g.,
default.nix
,shell.nix
).
You can also update the pins with niv update $SOURCE
and you don't have to manually look into the repo for updating the pins.
Though, Nix flakes are still the more attractive options IMO.
If you're looking to update the official channels, you can take a peek at status.nixos.org.