nix-config/modules/nix/comm/element.nix

18 lines
328 B
Nix

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