Configure zk notes path
This commit is contained in:
parent
aed72ef9b1
commit
d08ce627c9
1 changed files with 271 additions and 268 deletions
|
|
@ -14,7 +14,9 @@ in
|
|||
};
|
||||
|
||||
config = lib.mkIf cfg.enable {
|
||||
home-manager.users.${config.user.name} = {
|
||||
home-manager.users.${config.user.name} =
|
||||
{ config, ... }:
|
||||
{
|
||||
|
||||
programs.neovim = {
|
||||
enable = true;
|
||||
|
|
@ -252,10 +254,7 @@ in
|
|||
}
|
||||
},
|
||||
dev = {
|
||||
path = "${
|
||||
pkgs.vimUtils.packDir
|
||||
config.home-manager.users.${config.user.name}.programs.neovim.finalPackage.passthru.packpathDirs
|
||||
}/pack/myNeovimPackages/start",
|
||||
path = "${pkgs.vimUtils.packDir config.programs.neovim.finalPackage.passthru.packpathDirs}/pack/myNeovimPackages/start",
|
||||
patterns = {""},
|
||||
},
|
||||
install = {
|
||||
|
|
@ -270,6 +269,10 @@ in
|
|||
source = ./lua;
|
||||
};
|
||||
|
||||
home.sessionVariables = {
|
||||
ZK_NOTEBOOK_DIR = "${config.home.homeDirectory}/Nextcloud/notes";
|
||||
};
|
||||
|
||||
home.packages = with pkgs; [
|
||||
ripgrep
|
||||
fd
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue