diff options
Diffstat (limited to 'modules/common.nix')
-rw-r--r-- | modules/common.nix | 52 |
1 files changed, 44 insertions, 8 deletions
diff --git a/modules/common.nix b/modules/common.nix index ae50055..49e376c 100644 --- a/modules/common.nix +++ b/modules/common.nix @@ -8,25 +8,61 @@ keycloak = pkgs.callPackage ../pkgs/keycloak/default.nix { }; }; - environment.shellAliases = { - vim = "nvim"; - }; + # TODO: replace with programs.neovim.enable + nixpkgs.overlays = [ + (final: prev: { + neovim = prev.neovim.override { + viAlias = true; + vimAlias = true; + }; + }) + ]; + environment.variables.EDITOR = "${pkgs.neovim}/bin/nvim"; + environment.systemPackages = with pkgs; [ + bat + bwm_ng + clang + coreutils + direnv dnsutils + emacs + exa + fd + fzf git + gitFull gnupg haskellPackages.hledger + hledger htop + iotop + ledger + moreutils mosh + most neovim + nix-index + p7zip pass + ripgrep + rustup silver-searcher - whois - unzip - p7zip + sqlite + stow unrar - iotop - moreutils + unzip + whois + zoxide + (rWrapper.override { + packages = with rPackages; [ + data_table + ggplot2 + hms + viridis + lubridate + ]; + }) ]; time.timeZone = "America/New_York"; |