From 3e15c478eb84b4de66e984eb8a830deab97e9597 Mon Sep 17 00:00:00 2001 From: Evie Litherland-Smith Date: Sun, 22 Sep 2024 11:30:15 +0100 Subject: [PATCH] Add shellAliases back Add alias to start and stop protonvpn (wg-quick) --- system/home/scripts/default.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/system/home/scripts/default.nix b/system/home/scripts/default.nix index 08704745..c13782e8 100644 --- a/system/home/scripts/default.nix +++ b/system/home/scripts/default.nix @@ -7,5 +7,9 @@ (pkgs.writeShellScriptBin "rsync-local-config" (builtins.readFile ./shell/rsync-local-config.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"; + }; }; }