wip(home): refactor home modules *WILL NOT BUILD*

This commit is contained in:
ooks-io 2024-06-04 21:19:35 +12:00
parent 2033810429
commit 6a591ecbf7
115 changed files with 1028 additions and 791 deletions

View file

@ -0,0 +1,15 @@
{ lib, config, pkgs, ... }:
let
inherit (lib) mkIf mkEnableOption;
cfg = config.ooknet.productivity.notes.obsidian;
notes = config.ooknet.desktop.notes;
in
{
options.ooknet.productivity.notes.obsidian.enable = mkEnableOption "";
config = mkIf (cfg.enable || notes == "obsidian") {
home.packages = [ pkgs.obsidian ];
};
}