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

28 lines
538 B
Nix

{
pkgs,
config,
lib,
...
}:
let
cfg = config.aux.system.apps.social;
in
with lib;
{
options = {
aux.system.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
];
aux.system.ui.flatpak.enable = true;
services.flatpak.packages = [ "com.discordapp.Discord" ];
};
}