From 9b47da2a6b19695c425b5c0c4aff686ac27b45f7 Mon Sep 17 00:00:00 2001 From: Whovian9369 Date: Mon, 23 Sep 2024 01:43:18 -0400 Subject: [PATCH] Okay so uh, that may have removed all of my Useful-in-WSL aliases. Oops. --- home/aliases.nix | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/home/aliases.nix b/home/aliases.nix index 1d6a970..a0f526d 100644 --- a/home/aliases.nix +++ b/home/aliases.nix @@ -1,13 +1,5 @@ -{ nixpkgs, ... }: { home.shellAliases = { - # 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. - } // nixpkgs.lib.optionalAttrs (nixpkgs.lib.options ? wsl) { # From Windows "%PATH%" "adb" = "adb.exe"; "caja" = "explorer.exe"; @@ -16,5 +8,13 @@ "tailscale" = "tailscale.exe"; "yt-dlp" = "yt-dlp.exe"; "7zexe" = "/mnt/c/Program\\ Files/7-Zip/7z.exe"; + + # 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. + # } // nixpkgs.lib.optionalAttrs (nixpkgs.lib.options ? wsl) { }; }