feat(obsidian): install Obsidian as the desktop note-taking vault

Add a standalone modules.desktop.obsidian module and enable it on
neogaia. Give it a waybar window-rewrite icon so its windows show a
recognisable glyph on the workspace indicator.
This commit is contained in:
2026-07-24 17:48:29 -04:00
parent 2cb47ef2cf
commit 7409e4e6a0
3 changed files with 20 additions and 0 deletions

View 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 ];
};
}

View File

@@ -82,6 +82,7 @@ in
"class<.*[Ff]irefox.*>" = g "f269";
"class<chromium.*>" = g "f268";
"class<[Cc]ode>" = g "f121";
"class<obsidian>" = g "f02d";
};
};