diff options
author | Alan Pearce | 2023-03-08 20:23:02 +0100 |
---|---|---|
committer | Alan Pearce | 2023-03-08 20:23:02 +0100 |
commit | c19f1f6e56b22eb3794b6d85adc8651e4ffc8df7 (patch) | |
tree | a035367c9a4cd5a93c6f3b39b712e6292dcacac2 /README.md | |
parent | 9a0180ea9ab5408a1384df5f100c0a4fb9cd300d (diff) | |
download | nixfiles-c19f1f6e56b22eb3794b6d85adc8651e4ffc8df7.tar.lz nixfiles-c19f1f6e56b22eb3794b6d85adc8651e4ffc8df7.tar.zst nixfiles-c19f1f6e56b22eb3794b6d85adc8651e4ffc8df7.zip |
Save and document override for private flake
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 12 |
1 files changed, 12 insertions, 0 deletions
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. |