upd
This commit is contained in:
@@ -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.
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user