WIP: Switch to NixOS #5

Draft
FunctionalHacker wants to merge 1349 commits from nix into main
2 changed files with 2 additions and 4 deletions
Showing only changes of commit 29df7d4b94 - Show all commits

View file

@ -69,9 +69,7 @@ if [ "$SSH_CONNECTION" = "" ]; then
gpg-connect-agent updatestartuptty /bye >/dev/null gpg-connect-agent updatestartuptty /bye >/dev/null
fi fi
{%@@ elif os == "termux" @@%} {%@@ elif os == "termux" @@%}
if ! pgrep okc-ssh-agent > /dev/null; then eval $(okc-ssh-agent)
okc-ssh-agent > "$PREFIX/tmp/okc-ssh-agent.env"
fi
{%@@ endif @@%} {%@@ endif @@%}
# Enable grc colorization of supported commands # Enable grc colorization of supported commands

View file

@ -44,7 +44,7 @@ pr() {
{%@@ endif @@%} {%@@ endif @@%}
{%@@ if os == "termux" @@%} {%@@ if os == "termux" @@%}
alias okc-gpg='gpg' alias gp='okc-gpg'
{%@@ endif @@%} {%@@ endif @@%}
# find and open man pages with fzf # find and open man pages with fzf