nixos-config/home-manager/modules/dropbox/default.nix

14 lines
243 B
Nix

{ lib
, config
, ...
}:
with lib; let
cfg = config.eboskma.programs.dropbox;
in
{
options.eboskma.programs.dropbox = { enable = mkEnableOption "activate dropbox"; };
config = mkIf cfg.enable {
services.dropbox.enable = true;
};
}