This commit is contained in:
2026-02-20 00:10:40 +01:00
commit 166d152536
9 changed files with 193 additions and 0 deletions

28
modules/fish.nix Normal file
View File

@@ -0,0 +1,28 @@
{ pkgs, ... }:
{
programs.fish = {
enable = true;
interactiveShellInit = ''
# no dum greeting
set fish_greeting ""
# yes, please setup git for me
gh auth setup-git
# add github ssh key
eval (ssh-agent -c) > /dev/null
ssh-add ~/.ssh/github 2> /dev/null
# add github gpg key
set -gx GPG_TTY (tty)
# vi mode
fish_vi_key_bindings
# Odpalenie fastfetcha na start
clear
fastfetch --config ~/.config/fastfetch/startup.jsonc
'';
};
}