nixos/system/home/scripts/default.nix

16 lines
558 B
Nix
Raw Normal View History

2024-07-30 15:06:34 +01:00
{ pkgs, ... }:
{
2024-07-30 06:34:11 +01:00
home = {
packages = [
(pkgs.writeShellScriptBin "esync" (builtins.readFile ./shell/esync.sh))
2024-09-21 05:47:49 +01:00
(pkgs.writeShellScriptBin "gsync" (builtins.readFile ./shell/gsync.sh))
2024-07-30 15:06:34 +01:00
(pkgs.writeShellScriptBin "rsync-local-config" (builtins.readFile ./shell/rsync-local-config.sh))
(pkgs.writeShellScriptBin "xdg-query-program" (builtins.readFile ./shell/xdg-query-program.sh))
2024-07-30 06:34:11 +01:00
];
shellAliases = {
protonup = "sudo wg-quick up protonvpn && sudo wg";
protondown = "sudo wg-quick down protonvpn";
};
2024-07-30 06:34:11 +01:00
};
}