2024-12-04 17:58:03 +00:00
|
|
|
{ config, ... }: {
|
2023-08-04 14:33:10 +00:00
|
|
|
programs.fish = {
|
|
|
|
# Shell overrides for work
|
|
|
|
|
|
|
|
shellAbbrs = rec {
|
|
|
|
putmykey = "ssh-copy-id -i ~/.ssh/id_ed25519";
|
|
|
|
putrootkey = "ssh-copy-id -i ~/.ssh/id_ed25519-root";
|
|
|
|
ssh = "ssh -i ~/.ssh/id_ed25519 -l work-user";
|
|
|
|
sshroot = "ssh -i ~/.ssh/id_ed25519-root -l root";
|
|
|
|
vpnkit = "wsl.exe -d wsl-vpnkit --cd /app service wsl-vpnkit";
|
|
|
|
};
|
2023-08-07 17:10:06 +00:00
|
|
|
|
|
|
|
functions = {
|
|
|
|
update-dotfiles = "nix flake lock --update-input dotfiles ${config.home.homeDirectory}/.dotfiles/ && switch-home";
|
|
|
|
};
|
2023-08-04 14:33:10 +00:00
|
|
|
};
|
|
|
|
}
|