Commit graph

6 commits

Author SHA1 Message Date
a73f16ddf9 Remove nixpkgs-unstable
Also remove cachix cache for nixpkgs-unstable.

Turns out I am not using any of this on WSL, so doesn't make any sense to keep
it around.
2022-07-05 21:33:47 +05:30
a02267eb22 Revert "Add cuda-maintainers cachix binary cache"
This reverts commit 408c613cfa.
2022-06-25 21:40:25 +05:30
51a851767f EXPERIMENT: Set up nixpkgs-unfree as root input as well as cachix
nixpkgs-unfree supposedly provides builds for non-free, but redistributable
packages that cache.nixos.org does not build.

Along with cuda-maintainers, it should reduce the burden for using heavy
packages for machine learning quite a bit. So, lets see how this one goes.

I should also start checking how the machine learning story is with NixOS at
all, it is rife with Python and Python has absolutely horrible ecosystem for
managing dependencies.
2022-03-29 22:11:51 +05:30
408c613cfa Add cuda-maintainers cachix binary cache
upstream NixOS has a CUDA maintainers group now, so future seems to be brighter
for doing ML stuff in NixOS. The non-availability of binary caches was a problem
before but now it seems to be not so any more!

Add this cache for future-proofing this thing.
2022-03-28 11:20:28 +05:30
9865dd0e74 Update Nix config options for latest version 2022-02-03 19:54:39 +05:30
dfb3d3f7ee Enable binary cache for nix-community
Finally fully enable binary cache for nix-community and emacs-overlay.
No I don't have to build emacs from scratch for every master update :)

This was done by means of cachix, which is a means to upload built derivations
for others to share with. Nix-community has their own, and it makes using
overlays provided by nix-community that much better. This should shave off 20-25
min per system rebuild.

I am not sure if this will work as is after moving this config to new system,
so here are the steps to follow:

1. nix shell nixpkgs#cachix
2. sudo cachix use nix-community
3. stage/commit cachix.nix and cachix/ from /etc/nixos
4. done

Hopefully this will be enough in the future system move. If not, all the best to
future me.
2021-11-13 12:15:53 +05:30