Files
nix/modules/software/fish.nix
2026-03-07 10:52:18 -06:00

25 lines
601 B
Nix

{
den.aspects.fish = {
nixos = { pkgs, ...}: {
programs.fish.shellAliases = {
fetch = "fastfetch --file ~/nix/nix.ans";
box = "ssh box.bug.tools";
unbox = "sh -c 'ssh -N -L \"$1\":0.0.0.0:\"$1\" box.bug.tools &' --";
rebox = "sh -c 'fuser -k \"$1\"/tcp' --";
dock = "sh -c 'ssh -N -D \"$1\" box.bug.tools &' --";
pico = "ssh pico.sh";
ns = "nh os switch ~/nix --impure -H (hostname)";
rebuild = "ns";
};
environment.systemPackages = with pkgs.fishPlugins; [
done
sponge
];
};
};
}