feat(obsidian): initial obsidian config
This commit is contained in:
parent
8fcda1a7e9
commit
a02ecc1f70
6 changed files with 48 additions and 2 deletions
|
|
@ -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";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue