18 lines
303 B
Nix
18 lines
303 B
Nix
{ lib, config, ... }:
|
|
with lib;
|
|
with lib.wyrdgard;
|
|
let
|
|
cfg = config.wyrdgard.apps.onedrive;
|
|
in
|
|
{
|
|
options.wyrdgard.apps.onedrive = with types; {
|
|
enable = mkEnableOption "Enable OneDrive integration";
|
|
};
|
|
|
|
config = mkIf cfg.enable {
|
|
services.onedrive = {
|
|
enable = true;
|
|
};
|
|
};
|
|
}
|