- cross-posted to:
- libre_software
- opensource
- nix
- nixos
- cross-posted to:
- libre_software
- opensource
- nix
- nixos
cross-posted from: https://group.lt/post/30446
1652 contributors, who authored 30371 commits since the previous release.
NixOS is already known as the most up to date distribution while also being the distribution with the most packages.
This release saw 16678 new packages and 14680 updated packages in nixpkgs. We also removed 2812 packages in an effort to keep the package set maintainable and secure. In addition to packages the NixOS distribution also features modules and tests that make it what it is. This release brought 91 new modules and removed 20. In that process we added 1322 options and removed 487.
nix flake update
And to add a new flake to flake.nix
inputs.my-flake.url = "github:owner/repo";
✨✨✨✨✨✨✨✨✨✨✨✨
Maybe there is a way to add flakes through the command line which I do not know of.
Where do i put the flake file? (another disadvantage, an implicit dependency).
Also does it get added to “~/.nix-profile/bin/” ? Does it use a binary cache (do every package in nixpkgs has to be rebuilt from source?)
For nixos
/etc/nixos/flake.nix
. Example https://git.sr.ht/~misterio/nix-config/tree/main/item/flake.nixFor home-manager see https://nix-community.github.io/home-manager/index.html#ch-nix-flakes
For individual projects like that Pytorch one you can put on any git repo.
If you use same nixpkgs revision as the one you currently have using channels nix should not rebuild derivations.