feat(obsidian): initial obsidian config

This commit is contained in:
ooks-io 2024-02-27 20:02:29 +13:00
parent 8fcda1a7e9
commit a02ecc1f70
6 changed files with 48 additions and 2 deletions

View file

@ -9,7 +9,7 @@
#./wallpaper -- still needs to be implemented
#./utility -- still needs to be implemented
./wayland # -- almost done, need to implement eww
#./productivity -- still needs to be implemented
./productivity
# ./gaming
];
}

View file

@ -0,0 +1,13 @@
{ lib, ... }:
{
imports = [
./obsidian
];
options.homeModules.desktop.productivity = {
obsidian = {
enable = lib.mkEnableOption "enable obsidian home module";
};
};
}

View file

@ -0,0 +1,11 @@
{ lib, config, pkgs, ... }:
let
cfg = config.homeModules.desktop.productivity.obsidian;
in
{
config = lib.mkIf cfg.enable {
home.packages = with pkgs; [ obsidian ];
};
}