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:
@@ -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"
|
||||
|
Reference in New Issue
Block a user