diff --git a/minimal/hm.nix b/minimal/hm.nix index eb83fb5..7986804 100644 --- a/minimal/hm.nix +++ b/minimal/hm.nix @@ -426,7 +426,6 @@ }; home.file = { - ".zprofile".source = ./zprofile; ".config/python/pythonrc".text = '' import os import atexit diff --git a/minimal/zprofile b/minimal/zprofile deleted file mode 100644 index 7d7f1a7..0000000 --- a/minimal/zprofile +++ /dev/null @@ -1,24 +0,0 @@ -SSH_ENV="$HOME/.ssh/agent-environment" - -function start_agent { - echo "Initialising new SSH agent..." - ssh-agent | sed 's/^echo/#echo/' > "${SSH_ENV}" - echo succeeded - chmod 600 "${SSH_ENV}" - . "${SSH_ENV}" > /dev/null - ssh-add; -} - -# Source SSH settings, if applicable - -if [ -f "${SSH_ENV}" ]; then - . "${SSH_ENV}" > /dev/null - #ps ${SSH_AGENT_PID} doesn't work under cywgin - ps -ef | grep ${SSH_AGENT_PID} | grep ssh-agent$ > /dev/null || { - start_agent; - } -else - start_agent; -fi - -#source $HOME/.nix-profile/etc/profile.d/hm-session-vars.sh