WIP: Switch to NixOS #5

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

View file

@ -34,12 +34,10 @@ export DOTREPO="$HOME/Git/dotfiles"
export EDITOR=nvim
export PAGER="nvimpager -p"
{%@@ if profile == "Mirkwood" @@%}
# use gpg for ssh
export GPG_TTY="$(tty)"
export SSH_AUTH_SOCK="/run/user/$UID/gnupg/S.gpg-agent.ssh"
gpg-connect-agent updatestartuptty /bye > /dev/null
{%@@ endif @@%}
# tehfuk
eval $(thefuck --alias)

View file

@ -43,5 +43,9 @@ zinit ice lucid atinit'zpcompinit'
zinit light zdharma/fast-syntax-highlighting
# use fzf with zsh
{%@@ if profile == "mko-laptop" @@%}
source ~/.fzf.zsh
{%@@ else @@%}
source /usr/share/fzf/key-bindings.zsh
source /usr/share/fzf/completion.zsh
{%@@ endif @@%}

View file

@ -19,7 +19,7 @@ Host aur
User aur
host moria
HostName reekynet.com
HostName korhonen.cc
port 221
User balrog
ForwardAgent yes
@ -31,7 +31,7 @@ host gondor
ForwardAgent yes
host mirkwood
HostName reekynet.com
HostName korhonen.cc
port 8123
User reekymarko