nix-infra/users/common/fish/default.nix

22 lines
380 B
Nix
Raw Normal View History

2024-03-24 18:02:33 +00:00
{ ... }: {
2024-03-24 18:02:28 +00:00
programs.fish = {
enable = true;
2024-03-24 18:02:33 +00:00
interactiveShellInit = ''
2024-03-24 18:02:34 +00:00
set -g fish_greeting
2024-03-24 18:02:51 +00:00
set -g fish_key_bindings fish_vi_key_bindings
2024-03-24 19:05:07 +00:00
set -e SSH_AUTH_SOCK
set -U -x SSH_AUTH_SOCK (gpgconf --list-dirs agent-ssh-socket)
set -x GPG_TTY (tty)
2024-03-24 18:02:33 +00:00
gpgconf --launch gpg-agent
2024-03-24 19:05:07 +00:00
2024-03-24 18:02:33 +00:00
'';
2024-03-24 18:02:33 +00:00
shellAliases = {
2024-03-24 18:02:45 +00:00
g = "git";
};
2024-03-24 18:02:34 +00:00
2024-03-24 18:02:28 +00:00
};
}