Compare commits

...

3 Commits

Author SHA1 Message Date
Jacob Hinkle
2ec5840781 Merge branch 'main' of git.jhink.org:jacob/nix_config 2022-11-14 12:53:02 -05:00
Jacob Hinkle
a4974d62fe Change nix.maxJobs to nix.settings.max-jobs 2022-11-14 12:52:56 -05:00
Jacob Hinkle
0a9fa4fc03 Add telescope to neovim 2022-11-14 12:52:33 -05:00
2 changed files with 15 additions and 4 deletions

View File

@ -18,6 +18,15 @@ pkgs: {
let mapleader = ','
map <leader>n :lnext<CR>
map <leader>p :lprev<CR>
" Find files using Telescope command-line sugar.
nnoremap <leader>e <cmd>Telescope find_files<cr>
nnoremap <leader>g <cmd>Telescope live_grep<cr>
nnoremap <leader>b <cmd>Telescope buffers<cr>
nnoremap <leader>h <cmd>Telescope help_tags<cr>
" temporary fix for broken popup menu colors
" see here: https://github.com/nvim-telescope/telescope.nvim/issues/2145
hi NormalFloat ctermfg=LightGrey
'';
plugins = with pkgs.vimPlugins; [
#context-vim
@ -25,8 +34,8 @@ pkgs: {
#fzf
#gundo
python-mode
#telescope-nvim
#telescope-fzf-native-nvim
telescope-nvim
telescope-fzf-native-nvim
#nvim-treesitter
vim-nix
];

View File

@ -200,10 +200,12 @@
system.stateVersion = "22.05"; # Did you read the comment?
nix = {
maxJobs = 8;
gc = {
automatic = true;
};
settings.experimental-features = ["nix-command" "flakes"];
settings = {
experimental-features = ["nix-command" "flakes"];
max-jobs = 4;
};
};
}