fix: add init.nix back

This commit is contained in:
Youwen Wu 2024-08-24 23:09:28 -07:00
parent f883e16d11
commit becc12177d
Signed by: youwen5
GPG key ID: 865658ED1FE61EC3
2 changed files with 7 additions and 7 deletions

View file

@ -1,5 +1,5 @@
{pkgs, ...}: { {pkgs, ...}: {
imports = [./plugins ./keymaps.nix]; imports = [./plugins ./keymaps.nix ./init.nix];
programs.nixvim = { programs.nixvim = {
enable = true; enable = true;
viAlias = true; viAlias = true;
@ -12,11 +12,5 @@
combinePlugins.enable = true; combinePlugins.enable = true;
byteCompileLua.enable = true; byteCompileLua.enable = true;
}; };
extraPackages = with pkgs; [
ripgrep
yazi
fd
];
}; };
} }

View file

@ -1,6 +1,12 @@
# Quality of life plugins # Quality of life plugins
{pkgs, ...}: { {pkgs, ...}: {
programs.nixvim = { programs.nixvim = {
extraPackages = with pkgs; [
ripgrep
yazi
fd
];
plugins = { plugins = {
zen-mode.enable = true; zen-mode.enable = true;
direnv.enable = true; direnv.enable = true;