commit
1c12503ebf
15 changed files with 1434 additions and 0 deletions
30
default.nix
Normal file
30
default.nix
Normal file
|
|
@ -0,0 +1,30 @@
|
|||
{ pkgs, ... }:
|
||||
|
||||
{
|
||||
imports = [ ./plugins ];
|
||||
|
||||
config = {
|
||||
colorschemes = import ./config/colorscheme.nix;
|
||||
keymaps = import ./config/keymaps.nix;
|
||||
opts = import ./config/options.nix;
|
||||
|
||||
# Needed for telescope live grep
|
||||
extraPackages = [ pkgs.ripgrep ];
|
||||
|
||||
# Use <Space> as leader key
|
||||
globals.mapleader = " ";
|
||||
|
||||
# Set 'vi' and 'vim' aliases to nixvim
|
||||
viAlias = true;
|
||||
vimAlias = true;
|
||||
|
||||
# Setup clipboard support
|
||||
clipboard = {
|
||||
# Use xsel as clipboard provider
|
||||
providers.xsel.enable = true;
|
||||
|
||||
# Sync system clipboard
|
||||
register = "unnamedplus";
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue