2024-05-02 21:14:21 +00:00
|
|
|
{ pkgs, config, lib, ... }:
|
|
|
|
|
|
|
|
let
|
|
|
|
cfg = config.host.apps.social;
|
|
|
|
in
|
|
|
|
with lib;
|
|
|
|
{
|
|
|
|
options = {
|
|
|
|
host.apps.social.enable = mkEnableOption (mdDoc "Enables chat apps");
|
|
|
|
};
|
|
|
|
|
|
|
|
config = mkIf cfg.enable {
|
|
|
|
nixpkgs.config.allowUnfree = true;
|
|
|
|
environment.systemPackages = with pkgs; [
|
2024-05-06 04:05:14 +00:00
|
|
|
# Check Beeper Flatpak status here: https://github.com/daegalus/beeper-flatpak-wip/issues/1
|
|
|
|
beeper
|
2024-05-02 21:14:21 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
host.ui.flatpak.enable = true;
|
|
|
|
services.flatpak.packages = [
|
|
|
|
"com.discordapp.Discord"
|
|
|
|
];
|
|
|
|
};
|
|
|
|
}
|