2024-05-07 18:02:59 -04:00
|
|
|
{
|
|
|
|
pkgs,
|
|
|
|
config,
|
|
|
|
lib,
|
|
|
|
...
|
|
|
|
}:
|
2024-05-02 17:14:21 -04:00
|
|
|
|
|
|
|
let
|
2024-06-24 11:38:28 -04:00
|
|
|
cfg = config.aux.system.apps.social;
|
2024-05-02 17:14:21 -04:00
|
|
|
in
|
|
|
|
{
|
2024-05-07 18:02:59 -04:00
|
|
|
options = {
|
2024-08-02 17:55:48 -04:00
|
|
|
aux.system.apps.social.enable = lib.mkEnableOption "Enables chat apps";
|
2024-05-07 18:02:59 -04:00
|
|
|
};
|
2024-05-02 17:14:21 -04:00
|
|
|
|
2024-08-02 17:55:48 -04:00
|
|
|
config = lib.mkIf cfg.enable {
|
2024-06-25 14:13:15 -04:00
|
|
|
aux.system = {
|
|
|
|
allowUnfree = true;
|
|
|
|
ui.flatpak = {
|
|
|
|
enable = true;
|
|
|
|
packages = [ "com.discordapp.Discord" ];
|
|
|
|
};
|
|
|
|
};
|
2024-05-02 17:14:21 -04:00
|
|
|
|
2024-06-25 14:13:15 -04:00
|
|
|
# Check Beeper Flatpak status here: https://github.com/daegalus/beeper-flatpak-wip/issues/1
|
|
|
|
environment.systemPackages = [ pkgs.beeper ];
|
2024-05-07 18:02:59 -04:00
|
|
|
};
|
2024-05-02 17:14:21 -04:00
|
|
|
}
|