summaryrefslogtreecommitdiff
path: root/home/ebisu/fortune/system/variables.nix
diff options
context:
space:
mode:
authorFuwn <[email protected]>2024-09-01 23:51:42 -0700
committerFuwn <[email protected]>2024-09-01 23:51:42 -0700
commitc7aa52483140c250d3e4e7250ab6b539404bf580 (patch)
tree5478352d41b0b37a65cb37e7562823cf42eee6ba /home/ebisu/fortune/system/variables.nix
parentsecrets (diff)
downloadnixos-config-c7aa52483140c250d3e4e7250ab6b539404bf580.tar.xz
nixos-config-c7aa52483140c250d3e4e7250ab6b539404bf580.zip
secrets home
Diffstat (limited to 'home/ebisu/fortune/system/variables.nix')
-rw-r--r--home/ebisu/fortune/system/variables.nix10
1 files changed, 8 insertions, 2 deletions
diff --git a/home/ebisu/fortune/system/variables.nix b/home/ebisu/fortune/system/variables.nix
index d4f021b..818e535 100644
--- a/home/ebisu/fortune/system/variables.nix
+++ b/home/ebisu/fortune/system/variables.nix
@@ -1,4 +1,9 @@
-{ pkgs, config, ... }:
+{
+ pkgs,
+ config,
+ secrets,
+ ...
+}:
{
home.sessionVariables = {
# ref: https://github.com/nix-community/home-manager/issues/354#issuecomment-475803163
@@ -83,7 +88,7 @@
# GIT_ASKPASS = "${pkgs.ksshaskpass}/bin/ksshaskpass";
# SSH_ASKPASS = "${pkgs.ksshaskpass}/bin/ksshaskpass";
# SSH_ASKPASS_REQUIRE = "prefer";
- OPENAI_API_KEY = "sk-proj-lp1rme6lIEbfNeg4sbMQT3BlbkFJoWb5uwnraatH6HOkymqr";
+ OPENAI_API_KEY = secrets.openai_api_key;
NNN_FIFO = "/tmp/nnn.fifo";
_Z_DATA = "${config.xdg.dataHome}/z";
W3M_DIR = "${config.xdg.dataHome}/w3m";
@@ -94,5 +99,6 @@
BUNDLE_USER_PLUGIN = "${config.xdg.dataHome}/bundle";
PSQL_HISTORY = "${config.xdg.dataHome}/psql_history";
PKG_CACHE_PATH = "${config.xdg.cacheHome}/pkg-cache";
+ SUZURI_TOKEN = "${secrets.suzuri_token}";
};
}