35 lines
766 B
Nix
35 lines
766 B
Nix
{
|
|
pkgs,
|
|
inputs,
|
|
...
|
|
}: let
|
|
nvimSource = pkgs.fetchFromGitea {
|
|
domain = "git.sakamoto.dev";
|
|
owner = "kenji";
|
|
repo = "nvim";
|
|
rev = "6da85f36a93d46f79cabe72622daf1507d9d0948";
|
|
sha256 = "sha256-Plo7edu9vXDDzZxyPu+traIAyHOouViU/nXNkDx+/N4=";
|
|
};
|
|
in {
|
|
imports = [inputs.nixvim.homeManagerModules.default];
|
|
programs.neovim.enable = true;
|
|
programs.nixvim = {
|
|
enable = true;
|
|
colorschemes.catppuccin.enable = true;
|
|
plugins = {
|
|
lightline.enable = true;
|
|
alpha.enable = true;
|
|
};
|
|
};
|
|
home.packages = with pkgs; [
|
|
lazygit
|
|
ripgrep
|
|
];
|
|
# home.file.".config/nvim" = {
|
|
# # source = /home/biscuit/Nixos/packages/nvim/nvchad;
|
|
# source = nvimSource;
|
|
# recursive = true;
|
|
# force = true;
|
|
# };
|
|
}
|