about summary refs log tree commit diff
path: root/hosts
diff options
context:
space:
mode:
authorBaitinq <manuelpalenzuelamerino@gmail.com>2022-06-17 20:56:30 +0200
committerBaitinq <manuelpalenzuelamerino@gmail.com>2022-06-17 20:56:30 +0200
commiteabe31af7eb1c785e3867ad6687e4c203674787e (patch)
treeda7e75bff683de247c3b5d052b6d78418b297d3f /hosts
parentInitial commit (diff)
downloadnixos-config-eabe31af7eb1c785e3867ad6687e4c203674787e.tar.gz
nixos-config-eabe31af7eb1c785e3867ad6687e4c203674787e.tar.bz2
nixos-config-eabe31af7eb1c785e3867ad6687e4c203674787e.zip
Refractor and move neovim to be a system pkg
Diffstat (limited to 'hosts')
-rw-r--r--hosts/configuration.nix9
-rw-r--r--hosts/home.nix17
2 files changed, 4 insertions, 22 deletions
diff --git a/hosts/configuration.nix b/hosts/configuration.nix
index 4b85fda..738867d 100644
--- a/hosts/configuration.nix
+++ b/hosts/configuration.nix
@@ -42,8 +42,6 @@
     extraGroups = [ "wheel" "audio" "video" ]; # Enable ‘sudo’ for the user.
   };
 
-  #nixpkgs.config.allowUnfree = true;
-
   environment.variables = {
     TERMINAL = "st";
     EDITOR = "nvim";
@@ -70,14 +68,15 @@
     pciutils
     gnupg
     git-crypt
+    neovim
   ];
 
-  programs.neovim = {
+  /*programs.neovim = {
     enable = true;
     viAlias = true;
     vimAlias = true;
-    #  plugins = with pkgs.vimPlugins; [vim-addon-nix youcompleteme];
-  };
+    plugins = with pkgs.vimPlugins; [vim-addon-nix youcompleteme];
+    };*/
 
   # Some programs need SUID wrappers, can be configured further or are
   # started in user sessions.
diff --git a/hosts/home.nix b/hosts/home.nix
index fa1438b..6240dfa 100644
--- a/hosts/home.nix
+++ b/hosts/home.nix
@@ -63,21 +63,6 @@ in
 
     obs-studio = { enable = true; };
 
-    neovim = {
-      enable = true;
-      viAlias = true;
-      vimAlias = true;
-      withPython3 = true;
-      plugins = with pkgs.vimPlugins; [
-        vim-addon-nix
-        YouCompleteMe
-        nerdtree
-        rainbow_parentheses
-        base16-vim
-        vim-orgmode
-      ];
-    };
-
     zsh = {
       enable = true;
       zplug = {
@@ -168,6 +153,4 @@ in
       sha256 = "sha256-YKpIno5QSJM/GGp5DwQeuhKmTU5S96+IhLr0O0V8PDI=";
     };
   };
-
-  xsession.enable = true;
 }