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

29 lines
522 B
Nix

{
pkgs,
config,
lib,
...
}:
let
cfg = config.aux.system.apps.social;
in
{
options = {
aux.system.apps.social.enable = lib.mkEnableOption "Enables chat apps";
};
config = lib.mkIf cfg.enable {
aux.system = {
allowUnfree = true;
ui.flatpak = {
enable = true;
packages = [ "com.discordapp.Discord" ];
};
};
# Check Beeper Flatpak status here: https://github.com/daegalus/beeper-flatpak-wip/issues/1
environment.systemPackages = [ pkgs.beeper ];
};
}