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 {
|
config = lib.mkIf cfg.enable {
|
||||||
home-manager.users.${config.user.name} = {
|
home-manager.users.${config.user.name} =
|
||||||
|
{ config, ... }:
|
||||||
|
{
|
||||||
|
|
||||||
programs.neovim = {
|
programs.neovim = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
@ -252,10 +254,7 @@ in
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
dev = {
|
dev = {
|
||||||
path = "${
|
path = "${pkgs.vimUtils.packDir config.programs.neovim.finalPackage.passthru.packpathDirs}/pack/myNeovimPackages/start",
|
||||||
pkgs.vimUtils.packDir
|
|
||||||
config.home-manager.users.${config.user.name}.programs.neovim.finalPackage.passthru.packpathDirs
|
|
||||||
}/pack/myNeovimPackages/start",
|
|
||||||
patterns = {""},
|
patterns = {""},
|
||||||
},
|
},
|
||||||
install = {
|
install = {
|
||||||
|
|
@ -270,6 +269,10 @@ in
|
||||||
source = ./lua;
|
source = ./lua;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
home.sessionVariables = {
|
||||||
|
ZK_NOTEBOOK_DIR = "${config.home.homeDirectory}/Nextcloud/notes";
|
||||||
|
};
|
||||||
|
|
||||||
home.packages = with pkgs; [
|
home.packages = with pkgs; [
|
||||||
ripgrep
|
ripgrep
|
||||||
fd
|
fd
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue