This commit is contained in:
biscuit
2025-05-13 16:26:47 -05:00
parent 387cc54577
commit b93b0a6dd5
3 changed files with 18 additions and 7 deletions
+15 -3
View File
@@ -1,14 +1,26 @@
{ pkgs, ... }: {
{ pkgs, ... }:
let
nvimSource = pkgs.fetchFromGitea {
domain = "git.sakamoto.dev";
owner = "kenji";
repo = "nvim";
rev = "5fc3341ac43b35fd4032c07925927d7f1e82886c";
sha256 = "sha256-YbP814fKOFuCWBRwlccd4nx/h8sdMgiJQu54thRLsK8=";
};
in {
home.packages = [
pkgs.lazygit
pkgs.ripgrep
];
home.file.".config/nvim" = {
# BUG requires --impure
source = /home/biscuit/Nixos/packages/nvim/nvchad;
# source = /home/biscuit/Nixos/packages/nvim/nvchad;
source = nvimSource;
recursive = true;
force = true;
};
# Example use: provide it as a source
# You could pass `nvimSource` to a program, or maybe use it in home.file, etc.
}