feat[client]: add obsidian module

This commit is contained in:
Leon Schwarzäugl 2025-10-09 00:19:33 +02:00
parent b89e63e0f2
commit cc824b648b
Signed by: swarsel
GPG key ID: 26A54C31F2A4FD84
9 changed files with 389 additions and 16 deletions

View file

@ -1,4 +1,4 @@
{ lib, config, pkgs, ... }:
{ lib, config, ... }:
{
options.swarselmodules.obsidian-tray = lib.mkEnableOption "enable obsidian applet for tray";
config = lib.mkIf config.swarselmodules.obsidian-tray {
@ -19,7 +19,7 @@
};
Service = {
ExecStart = "${pkgs.obsidian}/bin/obsidian";
ExecStart = "${lib.getExe config.programs.obsidian.package}";
};
};
};