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

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