diff --git a/README.md b/README.md index 8a2eee56..ba6c24d3 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ -# nix - +# NixOS Configuration Repository Repo for nix configuration files +--- # Information #### Common * Used to house all common configurations, including dotfiles @@ -8,7 +8,7 @@ Repo for nix configuration files #### Desktops * Used to house DWM configurations, such as Gnome -#### Hardware +#### Hosts * Contains hardware configurations #### Software diff --git a/common/dotfiles/vim.nix b/common/dotfiles/vim.nix new file mode 100644 index 00000000..a25d5f02 --- /dev/null +++ b/common/dotfiles/vim.nix @@ -0,0 +1,20 @@ + programs.vim = { + enable = true; + plugins = with pkgs.vimPlugins; [ vim-airline ]; + settings = { ignorecase = true; }; + extraConfig = '' + set mouse=a + set number + syntax on + set hlsearch + set ignorecase + set smartcase + set autoindent + set ruler + set shiftwidth=2 + set expandtab + set softtabstop=2 + colorscheme slate + set cursorline + ''; + }; \ No newline at end of file diff --git a/users/albert/home.nix b/users/albert/home.nix index 45e2c572..e23a6cfc 100644 --- a/users/albert/home.nix +++ b/users/albert/home.nix @@ -10,6 +10,7 @@ imports = [ ./dconf.nix ../../common/dotfiles/git.nix + ../../common/dotfiles/vim.nix ]; }; } \ No newline at end of file diff --git a/users/root/home.nix b/users/root/home.nix index 39c3d5dd..29d28407 100644 --- a/users/root/home.nix +++ b/users/root/home.nix @@ -10,6 +10,7 @@ imports = [ ./dconf.nix ../../common/dotfiles/git.nix + ../../common/dotfiles/vim.nix ]; }; }