sneeuwvlok/modules/home/application/matrix/default.nix
Chris Kruining 1a4746819b
- fix matrix clients
- fix zen
- uuuugh, stupid home-manager...
2025-09-14 22:03:21 +02:00

19 lines
421 B
Nix

{ config, lib, pkgs, namespace, osConfig ? {}, ... }:
let
inherit (lib) mkIf mkEnableOption;
cfg = config.${namespace}.application.matrix;
in
{
options.${namespace}.application.matrix = {
enable = mkEnableOption "enable Matrix client (Fractal)";
};
config = mkIf cfg.enable {
home.packages = with pkgs; [ fractal element-desktop ];
programs.element-desktop = {
enable = true;
};
};
}