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