feat: add development tools into darwin

This commit is contained in:
ryan4yin
2023-05-29 16:16:09 +08:00
parent 7f5cc5be23
commit 5fd4a788df
5 changed files with 41 additions and 4 deletions

View File

@@ -0,0 +1,36 @@
{config, pkgs, nil, ...}:
{
home.packages = with pkgs; [
nil.packages."${pkgs.system}".default # nix language server
# GUI IDE
insomnia # REST client
# need to run `conda-install` before using it
# need to run `conda-shell` before using command `conda`
# conda is not available for MacOS
conda-shell
];
programs = {
# modern vim
neovim = {
enable = true;
extraConfig = ''
set number relativenumber
'';
};
direnv = {
enable = true;
nix-direnv.enable = true;
enableZshIntegration = true;
};
};
# GitHub CLI tool
programs.gh = {
enable = true;
};
}