NixOS/home/programs/obsidian.nix

14 lines
189 B
Nix
Raw Permalink Normal View History

{
config,
lib,
pkgs,
...
}:
2024-09-30 09:12:17 +07:00
let
cfg = config.profile.home.programs.obsidian;
inherit (lib) mkIf;
in
{
config = mkIf cfg.enable { home.packages = with pkgs; [ obsidian ]; };
2024-09-30 09:12:17 +07:00
}