split neovim into its own folder and its own packages
This commit is contained in:
parent
190418f618
commit
d03fb5c074
4 changed files with 26 additions and 16 deletions
|
@ -51,6 +51,7 @@
|
|||
];
|
||||
dev = [
|
||||
./users/relms/dev.nix
|
||||
./users/relms/neovim.nix
|
||||
];
|
||||
gui = [
|
||||
./users/relms/gui.nix
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
|
@ -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
25
users/relms/neovim.nix
Normal 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
|
||||
];
|
||||
};
|
||||
}
|
Reference in a new issue