From c19f1f6e56b22eb3794b6d85adc8651e4ffc8df7 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Wed, 8 Mar 2023 20:23:02 +0100 Subject: Save and document override for private flake --- README.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 README.md (limited to 'README.md') diff --git a/README.md b/README.md new file mode 100644 index 00000000..3bbafa34 --- /dev/null +++ b/README.md @@ -0,0 +1,12 @@ +# Secret Flake Setup + +Create `override.nix` like so, replacing the URL with the absolute path of the repo: + +```nix +{ + inputs.secrets.url = file:///full-path-to-this-repo/private; + outputs = { ... }@inputs: inputs.super; +} +``` + +Then, call `nix flake update --inputs-from override.nix` when updating flakes. -- cgit 1.4.1