summary refs log tree commit diff stats
path: root/users
diff options
context:
space:
mode:
Diffstat (limited to 'users')
-rw-r--r--users/sils/nixvim/config.nix19
-rw-r--r--users/sils/nixvim/default.nix4
2 files changed, 7 insertions, 16 deletions
diff --git a/users/sils/nixvim/config.nix b/users/sils/nixvim/config.nix
index 2a99cb2..60f522b 100644
--- a/users/sils/nixvim/config.nix
+++ b/users/sils/nixvim/config.nix
@@ -1,16 +1,4 @@
-let
-  maps = import ./maps;
-in {
-  options = {
-    number = true;
-    relativenumber = true;
-    shiftwidth = 2;
-    tabstop = 2;
-    scrolloff = 999;
-
-    textwidth = 83;
-    linebreak = true;
-  };
+pkgs: {
   colorschemes.gruvbox.enable = true;
   keymaps = [
     {
@@ -46,10 +34,13 @@ in {
       action = ":Neotree float git_status<cr>";
     }
   ];
+  extraPlugins = with pkgs.vimPlugins; [
+    vim-airline-themes
+  ];
   plugins = {
     airline = {
       enable = true;
-      powerline = true;
+      powerlineFonts = true;
       theme = "minimalist";
     };
     coq-nvim = {
diff --git a/users/sils/nixvim/default.nix b/users/sils/nixvim/default.nix
index 0e770f9..faf1a6b 100644
--- a/users/sils/nixvim/default.nix
+++ b/users/sils/nixvim/default.nix
@@ -1,7 +1,7 @@
-{
+{pkgs,...}: {
   programs.nixvim =
     {
       enable = true;
     }
-    // import ./config.nix;
+    // import ./config.nix pkgs;
 }