specify neovim's extra packages
parent
645866fbdc
commit
77ba3ccce9
|
@ -28,7 +28,10 @@
|
||||||
system = "x86_64-linux";
|
system = "x86_64-linux";
|
||||||
overlays = [ nixgl.overlay rust-overlay.overlays.default ];
|
overlays = [ nixgl.overlay rust-overlay.overlays.default ];
|
||||||
# pkgs = nixpkgs.legacyPackages.${system}.appendOverlays overlays;
|
# pkgs = nixpkgs.legacyPackages.${system}.appendOverlays overlays;
|
||||||
pkgs = import nixpkgs { inherit system overlays; };
|
pkgs = import nixpkgs {
|
||||||
|
inherit system overlays;
|
||||||
|
config = {allowUnfree = true;};
|
||||||
|
};
|
||||||
lib = (import ../lib-nix { inherit pkgs from-yaml; lib = pkgs.lib; });
|
lib = (import ../lib-nix { inherit pkgs from-yaml; lib = pkgs.lib; });
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
|
@ -100,9 +103,9 @@
|
||||||
myHome = {
|
myHome = {
|
||||||
username = "hwtr";
|
username = "hwtr";
|
||||||
homeDirectory = "/home/hwtr";
|
homeDirectory = "/home/hwtr";
|
||||||
packages = [
|
packages = [
|
||||||
pkgs.nixgl.nixGLIntel
|
pkgs.nixgl.nixGLIntel
|
||||||
# pkgs.postman
|
pkgs.postman
|
||||||
];
|
];
|
||||||
shellAliases = {
|
shellAliases = {
|
||||||
nixGL = "nixGLIntel";
|
nixGL = "nixGLIntel";
|
||||||
|
|
|
@ -8,8 +8,6 @@ let nvim_pkgs = [
|
||||||
# Yes, I desperately want neovim to work out-of-the-box without flake.nix for now
|
# Yes, I desperately want neovim to work out-of-the-box without flake.nix for now
|
||||||
# I want at least python LSP to work everywhere because it's basically
|
# I want at least python LSP to work everywhere because it's basically
|
||||||
# an alternative to bash script when I move to OpenColo
|
# an alternative to bash script when I move to OpenColo
|
||||||
pkgs.ncdu
|
|
||||||
pkgs.neovim
|
|
||||||
pkgs.gccStdenv
|
pkgs.gccStdenv
|
||||||
pkgs.gcc
|
pkgs.gcc
|
||||||
pkgs.tree-sitter
|
pkgs.tree-sitter
|
||||||
|
@ -19,13 +17,14 @@ let nvim_pkgs = [
|
||||||
pkgs.ripgrep
|
pkgs.ripgrep
|
||||||
pkgs.zk
|
pkgs.zk
|
||||||
pkgs.fd
|
pkgs.fd
|
||||||
|
pkgs.stdenv.cc.cc.lib
|
||||||
# Python3 as alternative to bash scripts :^)
|
# Python3 as alternative to bash scripts :^)
|
||||||
(pkgs.python310Full.withPackages (pypkgs: [
|
# (pkgs.python310Full.withPackages (pypkgs: [
|
||||||
# python-lsp-server's dependencies is absolutely astronomous
|
# # python-lsp-server's dependencies is absolutely astronomous
|
||||||
# pypkgs.python-lsp-server # python-lsp. Now we'll have to tell mason to look for this
|
# # pypkgs.python-lsp-server # python-lsp. Now we'll have to tell mason to look for this
|
||||||
pypkgs.pynvim # nvim provider
|
# pypkgs.pynvim # nvim provider
|
||||||
# pypkgs.ujson # pylsp seems to rely on this. satisfy it lol
|
# # pypkgs.ujson # pylsp seems to rely on this. satisfy it lol
|
||||||
]))
|
# ]))
|
||||||
]; in
|
]; in
|
||||||
{
|
{
|
||||||
home = {
|
home = {
|
||||||
|
@ -34,6 +33,7 @@ let nvim_pkgs = [
|
||||||
stateVersion = myHome.stateVersion or "22.05";
|
stateVersion = myHome.stateVersion or "22.05";
|
||||||
};
|
};
|
||||||
home.packages = pkgs.lib.unique ([
|
home.packages = pkgs.lib.unique ([
|
||||||
|
pkgs.ncdu
|
||||||
pkgs.htop
|
pkgs.htop
|
||||||
pkgs.ripgrep
|
pkgs.ripgrep
|
||||||
pkgs.unzip
|
pkgs.unzip
|
||||||
|
@ -52,7 +52,7 @@ let nvim_pkgs = [
|
||||||
pkgs.lynx # Web browser at your local terminal
|
pkgs.lynx # Web browser at your local terminal
|
||||||
|
|
||||||
# pkgs.tailscale # VPC;; This should be installed in system-nix
|
# pkgs.tailscale # VPC;; This should be installed in system-nix
|
||||||
# pkgs.python310 # dev packages should be in jk
|
pkgs.python310 # dev packages should be in jk
|
||||||
# pkgs.python310.numpy
|
# pkgs.python310.numpy
|
||||||
# pkgs.python310Packages.tensorflow
|
# pkgs.python310Packages.tensorflow
|
||||||
# pkgs.python310Packages.scikit-learn
|
# pkgs.python310Packages.scikit-learn
|
||||||
|
@ -96,17 +96,22 @@ let nvim_pkgs = [
|
||||||
};
|
};
|
||||||
programs.home-manager.enable = true;
|
programs.home-manager.enable = true;
|
||||||
programs.fzf.enable = true;
|
programs.fzf.enable = true;
|
||||||
# programs.neovim = {
|
programs.neovim = {
|
||||||
# enable = true;
|
enable = true;
|
||||||
# viAlias = true;
|
viAlias = true;
|
||||||
# vimAlias = true;
|
vimAlias = true;
|
||||||
# withPython3 = true;
|
withPython3 = true;
|
||||||
# withNodeJs = true;
|
withNodeJs = true;
|
||||||
# # I use vim-plug, so I probably don't require packaging
|
extraPackages = nvim_pkgs;
|
||||||
# # extraConfig actually writes to init-home-manager.vim (not lua)
|
extraPython3Packages = (pypkgs: [
|
||||||
# # https://github.com/nix-community/home-manager/pull/3287
|
pypkgs.python-lsp-server
|
||||||
# # extraConfig = builtins.readFile ../neovim/init.lua;
|
pypkgs.ujson
|
||||||
# };
|
]);
|
||||||
|
# I use vim-plug, so I probably don't require packaging
|
||||||
|
# extraConfig actually writes to init-home-manager.vim (not lua)
|
||||||
|
# https://github.com/nix-community/home-manager/pull/3287
|
||||||
|
# extraConfig = builtins.readFile ../neovim/init.lua;
|
||||||
|
};
|
||||||
programs.bash = {
|
programs.bash = {
|
||||||
enable = true;
|
enable = true;
|
||||||
enableCompletion = true;
|
enableCompletion = true;
|
||||||
|
|
Loading…
Reference in New Issue