wip: trying to get obsidian working

not a working build, syntax issues, added options that are not available
in stable home-manager
This commit is contained in:
2025-08-08 22:10:47 -04:00
parent e6ae0c4c35
commit 45de738d59
2 changed files with 33 additions and 17 deletions

View File

@@ -1,24 +1,25 @@
{ config, pkgs, ...}: {
{ config, home-manager-unstable, pkgs, ...}: {
home.packages = with pkgs; [
obsidian
obsidian-export
];
# programs.obsidian = {
# enable = true;
# vaults = {
# "notes" = {
# enable = true;
# target = "${config.home.homeDirectory}/Documents/obsidian/notes";
# };
# "work-notes" = {
# enable = true;
# target = "${config.home.homeDirectory}/Documents/obsidian/work-notes";
# };
# };
# # defaultSettings = {
# # themes = [ "catppuccin" ];
# # };
# };
programs.obsidian = {
enable = true;
package =
vaults = {
"notes" = {
enable = true;
target = "${config.home.homeDirectory}/Documents/obsidian/notes";
};
"work-notes" = {
enable = true;
target = "${config.home.homeDirectory}/Documents/obsidian/work-notes";
};
};
# defaultSettings = {
# themes = [ "catppuccin" ];
# };
};
home.activation.obsidianRepos = config.lib.dag.entryAfter ["writeBoundary"] ''
REPOS_DIR="${config.home.homeDirectory}/Documents/obsidian"