2021-12-10 20:11:36 +01:00
|
|
|
{
|
2022-03-01 22:19:03 +01:00
|
|
|
lib,
|
|
|
|
pkgs,
|
|
|
|
config,
|
|
|
|
...
|
|
|
|
}:
|
|
|
|
with lib; let
|
|
|
|
cfg = config.eboskma.programs.dropbox;
|
|
|
|
in {
|
|
|
|
options.eboskma.programs.dropbox = {enable = mkEnableOption "activate dropbox";};
|
2021-12-10 20:11:36 +01:00
|
|
|
|
|
|
|
config = mkIf cfg.enable {
|
|
|
|
services.dropbox.enable = true;
|
|
|
|
};
|
|
|
|
}
|