about summary refs log tree commit diff stats
path: root/home-manager/soispha/config/neovim/nixvim/default.nix
diff options
context:
space:
mode:
authorSoispha <soispha@vhack.eu>2023-08-19 17:10:01 +0200
committerSoispha <soispha@vhack.eu>2023-08-19 17:36:04 +0200
commitde266305ddfcaec0e3477164b4d9bdf1a596a124 (patch)
tree0c24d98855fa602157ef84e50769aa23614ed23c /home-manager/soispha/config/neovim/nixvim/default.nix
parentFix(hm/conf/nvim): Import neovim config (diff)
downloadnixos-config-de266305ddfcaec0e3477164b4d9bdf1a596a124.zip
Fix(hm/conf/neovim): Fully import nvim config through nixVim
Diffstat (limited to '')
-rw-r--r--home-manager/soispha/config/neovim/nixvim/default.nix49
1 files changed, 18 insertions, 31 deletions
diff --git a/home-manager/soispha/config/neovim/nixvim/default.nix b/home-manager/soispha/config/neovim/nixvim/default.nix
index f216fb05..a96bc476 100644
--- a/home-manager/soispha/config/neovim/nixvim/default.nix
+++ b/home-manager/soispha/config/neovim/nixvim/default.nix
@@ -1,39 +1,26 @@
-{
-  pkgs,
-  ...
-}: {
+{...}: {
   imports = [
-    ./options
-    ./mappings
-    ./colorscheme
+    ./autocmds
     ./clipboard
+    ./mappings
+    ./options
+    ./plugins
   ];
   programs.nixvim = {
     enable = true;
-    defaultEditor = true;
-
-    # to install plugins just activate their modules
-    plugins = {
-      lsp = {
-        enable = true;
-        hls.enable = true;
-        rust-analyzer.enable = true;
-      };
-      treesitter = {
-        enable = true;
-        indent = true;
-      };
-      mini = {
-        enable = true;
-        ai.enable = true;
-        jump.enable = true;
-      };
-    };
 
-    # Not all plugins have own modules
-    # You can add missing plugins here
-    # `pkgs.vimExtraPlugins` is added by the overlay you added at the beginning
-    # For a list of available plugins, look here: [available plugins](https://github.com/jooooscha/nixpkgs-vim-extra-plugins/blob/main/plugins.md)
-    extraPlugins = [pkgs.vimExtraPlugins.nightfox-nvim];
+    # source: https://www.patorjk.com/software/taag/#p=display&f=ANSI%20Shadow&t=Neovim
+    extraConfigLuaPre = ''
+      ---------------------------------------------------------------------------
+      --
+      --     ███╗   ██╗███████╗ ██████╗ ██╗   ██╗██╗███╗   ███╗
+      --     ████╗  ██║██╔════╝██╔═══██╗██║   ██║██║████╗ ████║
+      --     ██╔██╗ ██║█████╗  ██║   ██║██║   ██║██║██╔████╔██║
+      --     ██║╚██╗██║██╔══╝  ██║   ██║╚██╗ ██╔╝██║██║╚██╔╝██║
+      --     ██║ ╚████║███████╗╚██████╔╝ ╚████╔╝ ██║██║ ╚═╝ ██║
+      --     ╚═╝  ╚═══╝╚══════╝ ╚═════╝   ╚═══╝  ╚═╝╚═╝     ╚═╝
+      --
+      ---------------------------------------------------------------------------
+    '';
   };
 }