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

@ -11,6 +11,7 @@ in
./base
./hyprland
#./creative
./productivity
];
options = {
@ -29,6 +30,9 @@ in
gaming = {
enable = lib.mkEnableOption "Enable the gaming profile";
};
productivity = {
enable = lib.mkEnableOption "Enable the productivity profile";
};
};
};

View file

@ -0,0 +1,18 @@
{ config, lib, ... }:
let
cfg = config.profiles.productivity;
in
{
imports = [
../../modules
];
config = lib.mkIf cfg.enable {
homeModules.desktop = {
productivity = {
obsidian.enable = true;
};
};
};
}