feat: Obsidian vault and its wiki/consume agent skills #26
@@ -55,6 +55,7 @@
|
|||||||
modules.agents.pi.enable = true;
|
modules.agents.pi.enable = true;
|
||||||
|
|
||||||
modules.desktop.enable = true;
|
modules.desktop.enable = true;
|
||||||
|
modules.desktop.obsidian.enable = true;
|
||||||
|
|
||||||
time.timeZone = "America/New_York";
|
time.timeZone = "America/New_York";
|
||||||
i18n.defaultLocale = "en_GB.UTF-8";
|
i18n.defaultLocale = "en_GB.UTF-8";
|
||||||
|
|||||||
18
modules/desktop/obsidian.nix
Normal file
18
modules/desktop/obsidian.nix
Normal file
@@ -0,0 +1,18 @@
|
|||||||
|
{
|
||||||
|
config,
|
||||||
|
lib,
|
||||||
|
pkgs,
|
||||||
|
...
|
||||||
|
}:
|
||||||
|
# Obsidian as the desktop note-taking vault.
|
||||||
|
let
|
||||||
|
cfg = config.modules.desktop.obsidian;
|
||||||
|
user = config.user.name;
|
||||||
|
in
|
||||||
|
{
|
||||||
|
options.modules.desktop.obsidian.enable = lib.mkEnableOption "Obsidian as the desktop note-taking vault";
|
||||||
|
|
||||||
|
config = lib.mkIf cfg.enable {
|
||||||
|
home-manager.users.${user}.home.packages = [ pkgs.obsidian ];
|
||||||
|
};
|
||||||
|
}
|
||||||
@@ -82,6 +82,7 @@ in
|
|||||||
"class<.*[Ff]irefox.*>" = g "f269";
|
"class<.*[Ff]irefox.*>" = g "f269";
|
||||||
"class<chromium.*>" = g "f268";
|
"class<chromium.*>" = g "f268";
|
||||||
"class<[Cc]ode>" = g "f121";
|
"class<[Cc]ode>" = g "f121";
|
||||||
|
"class<obsidian>" = g "f02d";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user