removed uncessesary option for secondary drive

This commit is contained in:
Christoph Hollizeck 2024-04-08 19:09:55 +02:00
parent 23dc037990
commit 2b68024d1e
No known key found for this signature in database
GPG key ID: A8185688CDE3921F
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;
};
};
}