removed uncessesary option for secondary drive

This commit is contained in:
Christoph Hollizeck 2024-04-08 19:09:55 +02:00
parent 326bd3cb03
commit 782a3b6852
Signed by: Daholli
GPG key ID: 249300664F2AF2C7
3 changed files with 42 additions and 6 deletions

View file

@ -0,0 +1,24 @@
{
lib,
config,
pkgs,
...
}:
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 {
environment.systemPackages = with pkgs; [ onedrivegui ];
services.onedrive = {
enable = true;
};
};
}