nixconf/home-manager/fish.nix
Gabriella Bere 772518df4f attempted to add a keybind to toggle touchpad
somehow i cant get the script to run when i use the touchpad, but hey,
its in the repo now and the licence has been updated so i can get around
to it later

also i removed the default fish greeting it was annoying me
2025-06-08 05:17:39 +01:00

37 lines
1.2 KiB
Nix

{ pkgs, ... }:
{
programs.fish = {
enable = true;
generateCompletions = true;
shellAliases = {
ls = "eza -lh";
ip = "ip --color=auto";
nano = "nvim";
cd = "z";
cat = "bat";
# Aliases for my nixos workflow
nixos-switch = "sudo nixos-rebuild switch --flake ~/nixconf &| nom";
home-switch = "home-manager switch --flake ~/nixconf &| nom";
server-switch = "nixos-rebuild switch --flake ~/nixconf#biggerpi --target-host blue@biggerpi --use-remote-sudo &| nom";
home-manager-news = "home-manager news --flake ~/nixconf";
};
shellInit = "
set --global theme_virtual_env_prompt_enabled no
set --global VIRTUAL_ENV_DISABLE_PROMPT 1
set --global theme_env_packages_hide binutils-wrapper hyprland-qtutils pciutils pkgconf-wrapper
set fish_greeting \"\"
";
plugins = [
{
name = "agnoster";
src = pkgs.fetchFromGitHub {
owner = "IBeTheBlueCat";
repo = "theme-agnoster";
rev = "c6b1e6b5671f75d30d2d81a11963ef445e78d8e6";
hash = "sha256-hO5ow+7nBqFeXWj8sjd6whuSYqsKYCpvcINU6zpAzsU=";
};
}
];
};
}