nixos/modules/desktop/chat/element/default.nix
2024-09-02 11:19:46 +04:00

22 lines
322 B
Nix

{
outputs,
options,
config,
lib,
pkgs,
...
}:
let
cfg = config.modules.desktop.chat.element;
in {
options.modules.desktop.chat.element = {
enable = lib.mkEnableOption false;
};
config = lib.mkIf cfg.enable {
users.users.sako.packages = with pkgs.stable; [
element-desktop
];
};
}