Compare commits

..

2 commits

View file

@ -1,4 +1,4 @@
{ nixpkgs, ... }: { nixpkgs, options, ... }:
{ {
home.shellAliases = { home.shellAliases = {
# From Nix environment # From Nix environment
@ -7,7 +7,6 @@
"termbin" = "nc termbin.com 9999"; "termbin" = "nc termbin.com 9999";
# Alias that lets me upload text to https://termbin.com/ # Alias that lets me upload text to https://termbin.com/
# Mainly so I can lazily upload build logs. # Mainly so I can lazily upload build logs.
} // nixpkgs.lib.optionalAttrs (nixpkgs.lib.options ? wsl) {
# From Windows "%PATH%" # From Windows "%PATH%"
"adb" = "adb.exe"; "adb" = "adb.exe";
"caja" = "explorer.exe"; "caja" = "explorer.exe";
@ -17,4 +16,5 @@
"yt-dlp" = "yt-dlp.exe"; "yt-dlp" = "yt-dlp.exe";
"7zexe" = "/mnt/c/Program\\ Files/7-Zip/7z.exe"; "7zexe" = "/mnt/c/Program\\ Files/7-Zip/7z.exe";
}; };
# } // nixpkgs.lib.optionalAttrs (options ? wsl) {
} }