Add API keys to home.nix and update session variables

This commit is contained in:
2026-04-27 11:42:06 +10:00
parent bc04d0bf49
commit 1e2851f261
4 changed files with 16 additions and 27 deletions

0
[38 Normal file
View File

View File

@@ -438,3 +438,19 @@ dconf.settings."org/gnome/desktop/interface" = {
];
}
/*
NOTE FOR RECOVERY:
These keys were manually stored in ~/.config/environment.d/10-secrets.conf
to keep them out of the git-tracked Nix store.
Format used in that file:
export OPENAI_API_KEY="sk-proj-..."
export TAVILY_API_KEY="tvly-dev-..."
export GITHUB_TOKEN="ghp_..."
export GEMINI_API_KEY="AIza..."
export DEEPSEEK_API_KEY="sk-..."
export OPENROUTER_API_KEY="sk-or-v1-..."
export STITCH_API_KEY="AQ.Ab8..."
*/

View File

@@ -1,27 +0,0 @@
{ lib, nodejs, pkgs, buildNpmPackage, fetchFromGitHub }:
buildNpmPackage rec {
pname = "react-doctor";
version = "0.0.1";
src = fetchFromGitHub {
owner = "millionco";
repo = "react-doctor";
rev = "0.0.1";
hash = "sha256-T8szJcXeqIWmZQU/D4KpeFU1ZXilThL5JBmw2Y0hZkw=";
};
npmDepsHash = lib.fakeHash;
# CRITICAL: Generate package-lock.json during build
postPatch = ''
cd $sourceRoot
npm install --package-lock-only --no-audit --progress=false
'';
meta = with lib; {
description = "Let coding agents diagnose and fix your React code";
homepage = "https://github.com/millionco/react-doctor";
license = licenses.mit;
mainProgram = "react-doctor";
};
}

0
waybar-errors.log Normal file
View File