mirror of
https://github.com/EdenQwQ/nixos.git
synced 2025-12-27 02:44:58 +08:00
39 lines
911 B
Nix
39 lines
911 B
Nix
{ pkgs, inputs, ... }:
|
|
{
|
|
programs = {
|
|
fish = {
|
|
enable = true;
|
|
shellAbbrs = {
|
|
nixu = "nh os switch --ask";
|
|
homeu = "nh home switch --ask";
|
|
nixc = "doas systemctl start nh-clean.service";
|
|
vim = "nvim";
|
|
cd = "z";
|
|
};
|
|
shellAliases = {
|
|
"ls" = "exa";
|
|
"l" = "exa -lah --icons=auto";
|
|
};
|
|
shellInit = ''
|
|
zoxide init fish | source
|
|
export PATH="$HOME/.local/bin:$HOME/.juliaup/bin:$PATH"
|
|
set -g fish_color_command = blue --italics
|
|
set -g fish_color_quote = yellow --italics
|
|
'';
|
|
plugins = with pkgs.fishPlugins; [
|
|
{
|
|
name = "puffer";
|
|
src = puffer.src;
|
|
}
|
|
{
|
|
name = "pisces";
|
|
src = pisces.src;
|
|
}
|
|
];
|
|
functions = {
|
|
fish_greeting = "";
|
|
};
|
|
};
|
|
};
|
|
programs.man.generateCaches = false;
|
|
}
|