about summary refs log tree commit diff
path: root/home/element/default.nix
blob: 3fcb50e095a58b637ec95cdda1f4013e7c955fef (plain) (blame)
1
2
3
4
5
6
7
8
9
10
{ lib, config, pkgs, ... }:
let cfg = config.my.home.element;
in {
  options.my.home.element = with lib; {
    enable = mkEnableOption "element configuration";
  };

  config =
    lib.mkIf cfg.enable { home.packages = with pkgs; [ element-desktop ]; };
}