about summary refs log tree commit diff
path: root/home/element/default.nix
blob: 30021e13e45430939f7bfdb729e031761a8eea7e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
{ 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 ]; };
}