From fb6695fd8e0e111e38396ba68836d068dbabdb12 Mon Sep 17 00:00:00 2001 From: Youwen Wu Date: Sun, 18 Aug 2024 15:14:06 -0700 Subject: [PATCH] docs: add guide to remote usage --- README.md | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/README.md b/README.md index cf145db..de43821 100644 --- a/README.md +++ b/README.md @@ -44,6 +44,25 @@ If you don't want to commit these files, make sure to run the following: git update-index --skip-worktree .envrc .direnv ``` +## Use without downloading + +You can also use this in `nix develop` or with `direnv` without installing it. +Simply reference the flake remotely like so: + +```bash +nix develop "github:youwen5/nix-dev-envs#" +``` + +> [!WARNING] +> You may not be able to access these environments offline, so you should +> clone the repo if you want to be able to activate them when offline. + ## Provided environments: - Go