Add shellAliases back

Add alias to start and stop protonvpn (wg-quick)
This commit is contained in:
Evie Litherland-Smith 2024-09-22 11:30:15 +01:00
parent 62bbd80c86
commit 3e15c478eb

View file

@ -7,5 +7,9 @@
(pkgs.writeShellScriptBin "rsync-local-config" (builtins.readFile ./shell/rsync-local-config.sh)) (pkgs.writeShellScriptBin "rsync-local-config" (builtins.readFile ./shell/rsync-local-config.sh))
(pkgs.writeShellScriptBin "xdg-query-program" (builtins.readFile ./shell/xdg-query-program.sh)) (pkgs.writeShellScriptBin "xdg-query-program" (builtins.readFile ./shell/xdg-query-program.sh))
]; ];
shellAliases = {
protonup = "sudo wg-quick up protonvpn && sudo wg";
protondown = "sudo wg-quick down protonvpn";
};
}; };
} }