summary refs log tree commit diff stats
path: root/README.md
diff options
context:
space:
mode:
authorAlan Pearce2023-03-08 20:23:02 +0100
committerAlan Pearce2023-03-08 20:23:02 +0100
commitc19f1f6e56b22eb3794b6d85adc8651e4ffc8df7 (patch)
treea035367c9a4cd5a93c6f3b39b712e6292dcacac2 /README.md
parent9a0180ea9ab5408a1384df5f100c0a4fb9cd300d (diff)
downloadnixfiles-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.md12
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.