oil
Go to file
h7x4 b2c3801aa1
All checks were successful
Nix flake eval / Nix flake eval (push) Successful in 1m32s
.gitea/eval: init
2024-12-10 00:11:02 +01:00
.gitea/workflows .gitea/eval: init 2024-12-10 00:11:02 +01:00
generic/rust generic/rust: add a few more common *-sys libraries 2024-12-05 13:50:49 +01:00
projects/github/MusicPlayerDaemon/MPD projects/mpd: init 2024-12-05 13:25:57 +01:00
flake.lock generic/rust: init 2024-12-05 13:24:10 +01:00
flake.nix projects/mpd: init 2024-12-05 13:25:57 +01:00
LICENSE Initial commit 2024-12-05 12:40:54 +01:00
README.md README: add some background and usage docs 2024-12-05 14:23:23 +01:00

shells

This is a collection of general purpose and project specific nix shells.

They are mostly for personal use.

Add adhoc .envrc

The shells can easily be used in a project by creating a .envrc file, with contents like:

use flake git+ssh://git.pvv.ntnu.no/oysteikt/shells.git#rust

I've added .envrc to my global gitignore, so I don't accidentally commit these.

Add to flake registry

{
  # NixOS / home-manager (API is similar)
  nix.registry."shells".to = {
    type = "git";
    url = "https://git.pvv.ntnu.no/oysteikt/shells.git";
    ref = "main";
  };
}

Lets you do this:

$ nix develop shells#rust

As well as shorthands in .envrc:

use flake shells#rust