feat(nixvim): base my vim config upon nixvim
This commit is contained in:
@@ -1,10 +1,32 @@
|
||||
{ config, pkgs, ... }:
|
||||
{ config, pkgs, inputs, ... }:
|
||||
|
||||
{
|
||||
# user config
|
||||
home.username = "aaron";
|
||||
home.homeDirectory = "/home/aaron";
|
||||
|
||||
# nixvim config
|
||||
programs.nixvim = {
|
||||
globals.mapleader = " ";
|
||||
enable = true;
|
||||
viAlias = false;
|
||||
vimAlias = true;
|
||||
opts = {
|
||||
number = true;
|
||||
relativenumber = true;
|
||||
shiftwidth = 2;
|
||||
tabstop = 2;
|
||||
expandtab = true;
|
||||
incsearch = true;
|
||||
};
|
||||
colorschemes.nord.enable = true;
|
||||
plugins.lualine.enable = true;
|
||||
plugins.nix.enable = true;
|
||||
plugins.treesitter.enable = true;
|
||||
plugins.telescope.enable = true;
|
||||
plugins.web-devicons.enable = true;
|
||||
};
|
||||
|
||||
# user packages
|
||||
home.packages = with pkgs; [
|
||||
discord
|
||||
@@ -45,7 +67,7 @@
|
||||
powerline-symbols
|
||||
nerd-fonts.sauce-code-pro
|
||||
];
|
||||
|
||||
|
||||
# configure git
|
||||
programs.git.settings = {
|
||||
enable = true;
|
||||
@@ -93,10 +115,8 @@
|
||||
|
||||
# enable syncthing for user
|
||||
services.syncthing.enable = true;
|
||||
|
||||
# enable home manager
|
||||
programs.home-manager.enable = true;
|
||||
|
||||
# don't change
|
||||
home.stateVersion = "25.11";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user