mirror of
https://github.com/ryan4yin/nix-config.git
synced 2026-04-25 09:28:27 +02:00
fix: neovim & wezterm
This commit is contained in:
@@ -26,8 +26,6 @@ return {
|
|||||||
{ import = "astrocommunity.scrolling.nvim-scrollbar" },
|
{ import = "astrocommunity.scrolling.nvim-scrollbar" },
|
||||||
{ import = "astrocommunity.editing-support.auto-save-nvim" },
|
{ import = "astrocommunity.editing-support.auto-save-nvim" },
|
||||||
{ import = "astrocommunity.editing-support.todo-comments-nvim" },
|
{ import = "astrocommunity.editing-support.todo-comments-nvim" },
|
||||||
-- clipboard history manager
|
|
||||||
{ import = "astrocommunity.editing-support.yanky-nvim" },
|
|
||||||
-- Language Support
|
-- Language Support
|
||||||
---- Frontend & NodeJS
|
---- Frontend & NodeJS
|
||||||
{ import = "astrocommunity.pack.typescript-all-in-one" },
|
{ import = "astrocommunity.pack.typescript-all-in-one" },
|
||||||
|
|||||||
@@ -10,19 +10,12 @@
|
|||||||
#e#############################################################################
|
#e#############################################################################
|
||||||
{
|
{
|
||||||
xdg.configFile = {
|
xdg.configFile = {
|
||||||
# base config
|
# astronvim's config
|
||||||
"nvim" = {
|
"nvim".source = astronvim;
|
||||||
# update AstroNvim
|
|
||||||
onChange = "${pkgs.neovim}/bin/nvim --headless +quitall";
|
|
||||||
source = astronvim;
|
|
||||||
};
|
|
||||||
# my cusotom astronvim config, astronvim will load it after base config
|
# my cusotom astronvim config, astronvim will load it after base config
|
||||||
# https://github.com/AstroNvim/AstroNvim/blob/v3.32.0/lua/astronvim/bootstrap.lua#L15-L16
|
# https://github.com/AstroNvim/AstroNvim/blob/v3.32.0/lua/astronvim/bootstrap.lua#L15-L16
|
||||||
"astronvim/lua/user" = {
|
"astronvim/lua/user".source = ./astronvim_user;
|
||||||
# update AstroNvim
|
|
||||||
onChange = "${pkgs.neovim}/bin/nvim --headless +quitall";
|
|
||||||
source = ./astronvim_user;
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
|
|
||||||
nixpkgs.config = {
|
nixpkgs.config = {
|
||||||
@@ -41,7 +34,7 @@
|
|||||||
|
|
||||||
withPython3 = true;
|
withPython3 = true;
|
||||||
withNodeJs = true;
|
withNodeJs = true;
|
||||||
extraPackages = [];
|
extraPackages = with pkgs; [];
|
||||||
|
|
||||||
# currently we use lazy.nvim as neovim's package manager, so comment this one.
|
# currently we use lazy.nvim as neovim's package manager, so comment this one.
|
||||||
plugins = with pkgs.vimPlugins; [
|
plugins = with pkgs.vimPlugins; [
|
||||||
|
|||||||
@@ -1,6 +1,7 @@
|
|||||||
{
|
{
|
||||||
lib,
|
lib,
|
||||||
pkgs,
|
pkgs,
|
||||||
|
pkgs-unstable,
|
||||||
catppuccin-wezterm,
|
catppuccin-wezterm,
|
||||||
...
|
...
|
||||||
}:
|
}:
|
||||||
@@ -16,6 +17,7 @@
|
|||||||
|
|
||||||
programs.wezterm = {
|
programs.wezterm = {
|
||||||
enable = false;
|
enable = false;
|
||||||
|
package = pkgs-unstable.wezterm;
|
||||||
|
|
||||||
extraConfig =
|
extraConfig =
|
||||||
let
|
let
|
||||||
|
|||||||
Reference in New Issue
Block a user