1
0
Fork 0
nix-configuration/modules/apps/social.nix

31 lines
559 B
Nix
Raw Normal View History

{
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; [
# Check Beeper Flatpak status here: https://github.com/daegalus/beeper-flatpak-wip/issues/1
beeper
];
host.ui.flatpak.enable = true;
2024-05-08 14:15:41 +00:00
services.flatpak.packages = [
"com.discordapp.Discord"
"chat.schildi.desktop"
];
};
}