init: obsidian

remove onedrive and sync documents over obsidian vault that is encrypted
This commit is contained in:
Christoph Hollizeck 2024-10-10 20:09:10 +02:00
parent 0f656d193c
commit 64a4cc2edf
3 changed files with 133 additions and 49 deletions

View file

@ -1,21 +0,0 @@
{
lib,
config,
...
}:
let
cfg = config.wyrdgard.services.onedrive;
inherit (lib) mkEnableOption mkIf;
in
{
options.wyrdgard.services.onedrive = {
enable = mkEnableOption "Enable OneDrive integration";
};
config = mkIf cfg.enable {
services.onedrive = {
enable = true;
};
};
}