wrap fastfetch with config; run fastfetch on ssh login
This commit is contained in:
parent
716ed5cc53
commit
697a9f2cab
6 changed files with 93 additions and 11 deletions
|
|
@ -5,4 +5,9 @@
|
|||
enable = true;
|
||||
settings.PermitRootLogin = "no";
|
||||
};
|
||||
programs.fish.interactiveShellInit = ''
|
||||
if set -q SSH_CONNECTION
|
||||
neofetch
|
||||
end
|
||||
'';
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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";
|
||||
};
|
||||
};
|
||||
|
|
|
|||
|
|
@ -20,10 +20,4 @@
|
|||
hashedPassword = "!";
|
||||
};
|
||||
};
|
||||
programs.fish = {
|
||||
enable = true;
|
||||
interactiveShellInit = ''
|
||||
set fish_greeting
|
||||
'';
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue