diff --git a/home.nix b/home.nix index 6d289e5..5fcd526 100644 --- a/home.nix +++ b/home.nix @@ -1,7 +1,6 @@ { config, pkgs, ... }: { - # TODO please change the username & home directory to your own home.username = "alex"; home.homeDirectory = "/home/alex"; @@ -20,18 +19,19 @@ # xxx # ''; - # set cursor size and dpi for 4k monitor - # xresources.properties = { - # "Xcursor.size" = 16; - # "Xft.dpi" = 172; - # }; - home.shellAliases = { e = "ls -lh"; - vi = "nvim"; - vim = "nvim"; + tree = "eza --tree"; + l = "ls"; + ll = "eza -l"; + clip = "xclip -selection clipboard"; + vi = "nvim"; + vim = "nvim"; + mtr = "mtr -t"; + tm = "tmux attach || tmux"; }; + # Packages that should be installed to the user profile. home.packages = with pkgs; [ # here is some command line tools I use frequently @@ -48,10 +48,13 @@ # utils ripgrep # recursively searches directories for a regex pattern - # jq # A lightweight and flexible command-line JSON processor + bat + jq # A lightweight and flexible command-line JSON processor # yq-go # yaml processor https://github.com/mikefarah/yq eza # A modern replacement for ‘ls’ fzf # A command-line fuzzy finder + fd + xclip # networking tools mtr # A network diagnostic tool @@ -159,6 +162,11 @@ ''; }; + programs.neovim = { + enable = true; + defaultEditor = true; + }; + # This value determines the home Manager release that your # configuration is compatible with. This helps avoid breakage # when a new home Manager release introduces backwards