{ lib, config, pkgs, ... }: let inherit (lib) mkIf mkOption types; in { options.smayzy.bitwarden.enable = mkOption { type = types.bool; default = false; description = "bitwarden"; }; config = mkIf config.smayzy.bitwarden.enable { environment.systemPackages = with pkgs; [ bitwarden-desktop ]; }; }