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 23e93efbf8
commit 333059a879
Signed by: Daholli
GPG key ID: 249300664F2AF2C7
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;
};
};
}