mirror of
https://github.com/Xevion/dotfiles.git
synced 2025-12-06 01:14:48 -06:00
temp: commit privateDomain.age setup
This commit is contained in:
1
.ignored_keys/privateDomain.age
Normal file
1
.ignored_keys/privateDomain.age
Normal file
@@ -0,0 +1 @@
|
||||
***REMOVED***
|
||||
@@ -2,4 +2,5 @@ README.md
|
||||
FAQ.md
|
||||
.gitattributes
|
||||
.gitignore
|
||||
.vscode
|
||||
.vscode
|
||||
.ignored_keys
|
||||
6
home/.chezmoitemplates/keys.tmpl
Normal file
6
home/.chezmoitemplates/keys.tmpl
Normal file
@@ -0,0 +1,6 @@
|
||||
{{- if false -}}
|
||||
This is just a comments block, because apparently the templating langauge doesn't have a proper way to comment code as far as I can tell.
|
||||
This file is just a template for loading keys from the .ignored_keys directory.
|
||||
{{- else if eq . "privateDomain" -}}
|
||||
***REMOVED***
|
||||
{{- end -}}
|
||||
@@ -10,7 +10,7 @@ export TERM=xterm-256color # fixes terminal colors when ssh'ing into laptop
|
||||
export OPENAI_API_KEY="{{ (rbw "OpenAI - chatgpt-cli Key").data.password }}"
|
||||
|
||||
# hishtory
|
||||
export HISHTORY_SERVER="https://hsh.***REMOVED***"
|
||||
export HISHTORY_SERVER="https://hsh.{{ template "keys.tmpl" "privateDomain" }}"
|
||||
export PATH="$PATH:$HOME/.hishtory"
|
||||
{{ if eq . "zsh" -}}
|
||||
source $HOME/.hishtory/config.zsh
|
||||
|
||||
0
home/.ignored_keys/privateDomain.age
Normal file
0
home/.ignored_keys/privateDomain.age
Normal file
Reference in New Issue
Block a user