mirror of
https://github.com/jbowdre/dotfiles.git
synced 2024-12-22 12:22:17 +00:00
17 lines
No EOL
546 B
Nix
17 lines
No EOL
546 B
Nix
{ config, ... }: {
|
|
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";
|
|
};
|
|
|
|
functions = {
|
|
update-dotfiles = "nix flake lock --update-input dotfiles ${config.home.homeDirectory}/.dotfiles/ && switch-home";
|
|
};
|
|
};
|
|
} |