Archived
0
0
Fork 0

split neovim into its own folder and its own packages

This commit is contained in:
Daryl Ronningen 2023-02-02 01:37:48 -08:00
parent 190418f618
commit d03fb5c074
Signed by: Daryl Ronningen
GPG key ID: FD23F0C934A5EC6B
4 changed files with 26 additions and 16 deletions

View file

@ -51,6 +51,7 @@
];
dev = [
./users/relms/dev.nix
./users/relms/neovim.nix
];
gui = [
./users/relms/gui.nix

View file

@ -1,10 +1,6 @@
{pkgs, ...}: {
home.packages = with pkgs; [
gcc12
xsel
wget
rustup
tree-sitter
];
programs.git = {
@ -41,17 +37,6 @@
};
};
programs.neovim = {
enable = true;
package = pkgs.neovim;
viAlias = true;
vimAlias = true;
vimdiffAlias = true;
withNodeJs = true;
withPython3 = true;
withRuby = true;
};
programs.direnv.enable = true;
programs.direnv.nix-direnv.enable = true;

View file

@ -5,7 +5,6 @@
gnome.gnome-software
adw-gtk3
numix-icon-theme-circle
numix-cursor-theme
(st.overrideAttrs (oldAttrs: {
src = builtins.fetchTarball {
url = "https://code.relms.dev/Relms/st/archive/9973cc2bdd0b18f134b8065f8a840a77002cd977.tar.gz";

25
users/relms/neovim.nix Normal file
View file

@ -0,0 +1,25 @@
{pkgs, ...}: {
programs.neovim = {
enable = true;
package = pkgs.neovim;
defaultEditor = true;
viAlias = true;
vimAlias = true;
vimdiffAlias = true;
withNodeJs = true;
withPython3 = true;
withRuby = true;
extraPackages = with pkgs; [
wget
gcc12
tree-sitter
xsel
stylua
sumneko-lua-language-server
actionlint
];
extraPython3Packages = pyPkgs: with pyPkgs; [
pip
];
};
}