nixos-config

NixOS configs for my systems
Log | Files | Refs

commit 9bf05a500ba9c81420dca40efdc5bda439177172
parent a320a548d95f538bcce8f8f6f071b41db930b67b
Author: vin <vin@vineetk.net>
Date:   Mon, 13 Jan 2025 10:08:53 -0500

edit home.nix

Diffstat:
Mhome.nix | 11+++++++++--
1 file changed, 9 insertions(+), 2 deletions(-)

diff --git a/home.nix b/home.nix @@ -13,6 +13,7 @@ in { amdgpu_top dmenu doas + file htop kicad mlocate @@ -25,6 +26,7 @@ in { scrot tree vesktop + wcalc xclip xdotool xsel @@ -69,17 +71,22 @@ in { }; shellAliases = { + # shortened commands md = "mkdir -p"; - ls = "ls -F --color=auto"; e = "$EDITOR"; p = "$PAGER"; - cbc = "xsel -cb; xsel -cp; xsel -cs"; + m = "aerc"; gc = "git clone"; + cbc = "xsel -cb; xsel -cp; xsel -cs"; + + # default arguments to commands + ls = "ls -F --color=auto"; rsync = "rsync --no-inc-recursive"; mpv = "mpv --save-position-on-quit"; wget = "wget --no-hsts"; ytdl = "noglob yt-dlp --merge-output-format mkv --embed-subs --embed-metadata --sub-langs en,-live_chat --format='bestvideo[height<=?1440]+bestaudio/best'"; + # shortened nix commands # the `-c $SHELL` is there because it defaults to bash even if # that's not my user shell nd = "nix develop -c $SHELL";