nixos_config/home/aliases.nix

21 lines
600 B
Nix
Raw Normal View History

2024-09-26 02:44:18 -04:00
{ nixpkgs, options, ... }:
{
home.shellAliases = {
2024-09-26 02:44:18 -04:00
# From Nix environment
"7z" = "7zz";
# "7zz" is from "nixpkgs#_7zz"
"termbin" = "nc termbin.com 9999";
# Alias that lets me upload text to https://termbin.com/
# Mainly so I can lazily upload build logs.
# From Windows "%PATH%"
"adb" = "adb.exe";
"caja" = "explorer.exe";
"hactoolnet" = "hactoolnet.exe";
"mpv" = "mpv.com";
"tailscale" = "tailscale.exe";
"yt-dlp" = "yt-dlp.exe";
"7zexe" = "/mnt/c/Program\\ Files/7-Zip/7z.exe";
};
2024-09-26 02:44:18 -04:00
# } // nixpkgs.lib.optionalAttrs (options ? wsl) {
}