wrap fastfetch with config; run fastfetch on ssh login

This commit is contained in:
William 2025-11-03 10:55:14 -03:00
parent 716ed5cc53
commit 697a9f2cab
6 changed files with 93 additions and 11 deletions

View file

@ -5,4 +5,9 @@
enable = true;
settings.PermitRootLogin = "no";
};
programs.fish.interactiveShellInit = ''
if set -q SSH_CONNECTION
neofetch
end
'';
}

View file

@ -7,6 +7,7 @@
git
### System Utilities ###
btop
fastfetch
helix
nixos-firewall-tool
nvd
@ -18,7 +19,6 @@
shellAliases = {
cat = "${lib.getExe pkgs.bat} --paging=never --style=plain";
ls = "${lib.getExe pkgs.eza} --icons --group-directories-first";
neofetch = "${lib.getExe pkgs.fastfetch}";
tree = "ls --tree";
};
};

View file

@ -20,10 +20,4 @@
hashedPassword = "!";
};
};
programs.fish = {
enable = true;
interactiveShellInit = ''
set fish_greeting
'';
};
}