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

30 lines
532 B
Nix
Raw Normal View History

{
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 {
2024-06-25 18:13:15 +00:00
aux.system = {
allowUnfree = true;
ui.flatpak = {
enable = true;
packages = [ "com.discordapp.Discord" ];
};
};
2024-06-25 18:13:15 +00:00
# Check Beeper Flatpak status here: https://github.com/daegalus/beeper-flatpak-wip/issues/1
environment.systemPackages = [ pkgs.beeper ];
};
}