From 735d2ad1dca6707004c757dbde0fac4e12fc8fec Mon Sep 17 00:00:00 2001 From: Kumar Damani Date: Wed, 19 Apr 2023 16:38:49 -0400 Subject: routine updates --- .../.config/nixpkgs/per-user/kdam0-work/home.nix | 31 +++++++++++++++++----- 1 file changed, 25 insertions(+), 6 deletions(-) (limited to 'nixpkgs') diff --git a/nixpkgs/.config/nixpkgs/per-user/kdam0-work/home.nix b/nixpkgs/.config/nixpkgs/per-user/kdam0-work/home.nix index b8a6a72..53c4819 100644 --- a/nixpkgs/.config/nixpkgs/per-user/kdam0-work/home.nix +++ b/nixpkgs/.config/nixpkgs/per-user/kdam0-work/home.nix @@ -9,17 +9,20 @@ defaultKeymap = "viins"; initExtra = '' source ${config.home.homeDirectory}/.p10k.zsh + bindkey '^ ' autosuggest-accept ''; shellAliases = { l = "ls -l"; ll = "ls -al"; ".." = "cd .."; - cdwl = "nvim ~/.config/nixpkgs/common/dwl_3/config.h"; - chm = "nvim ~/.config/nixpkgs/per-user/kdam0-work/home.nix"; - gst = "git status"; v = "nvim $@"; + r = "ranger $@"; + gst = "git status"; + cdwl = "nvim ~/.config/nixpkgs/common/dwl_4/config.h"; + chm = "nvim ~/.config/nixpkgs/per-user/kdam0-work/home.nix"; search = "nix search nixpkgs $@"; conf = "ranger ~/.config/nixpkgs/common/"; + up = "home-manager switch"; }; zplug = { enable = true; @@ -37,6 +40,15 @@ terminal = "screen-256color"; keyMode = "vi"; }; + programs.git = { + enable = true; + userName = "Kumar Damani"; + userEmail = "me@kumardamani.net"; + aliases = { + lg = "log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit"; + }; + }; + home.stateVersion = "22.11"; home.packages = [ @@ -45,7 +57,7 @@ # trying to supply config.home.homeDirectory here leads to "impure" usage. # so disabling it for now # conf = (builtins.readFile "${config.home.homeDirectory}/.config/dwl/config.h"); - conf = ../../common/dwl_3/config.h; + conf = ../../common/dwl_4/config.h; }) pkgs.somebar pkgs.foot @@ -67,7 +79,8 @@ pkgs.pcmanfm pkgs.gvfs # Fonts - pkgs.nerdfonts + pkgs.noto-fonts + #pkgs.nerdfonts pkgs.hack-font # Notifications pkgs.mako @@ -81,13 +94,19 @@ # Power stuff pkgs.acpi # Other stuff - pkgs.gnumake + pkgs.entr pkgs.clang + pkgs.gnumake pkgs.neofetch pkgs.trash-cli pkgs.nextcloud-client pkgs.ripgrep pkgs.fd + pkgs.stow + pkgs.unzip + pkgs.nodejs + pkgs.cargo + ]; fonts.fontconfig.enable = true; -- cgit v1.2.3