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

12 lines
247 B
Nix

{ lib, pkgs, 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;
};
}