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.
19 lines
373 B
Nix
19 lines
373 B
Nix
{
|
|
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 ];
|
|
};
|
|
}
|