mirror of
https://github.com/alyraffauf/nixcfg.git
synced 2024-11-29 05:29:17 -05:00
15 lines
231 B
Nix
15 lines
231 B
Nix
{
|
|
pkgs,
|
|
lib,
|
|
config,
|
|
...
|
|
}: {
|
|
options = {
|
|
guiApps.obsidian.enable = lib.mkEnableOption "Enables Obsidian.";
|
|
};
|
|
|
|
config = lib.mkIf config.guiApps.obsidian.enable {
|
|
home.packages = with pkgs; [obsidian];
|
|
};
|
|
}
|