2024-11-03 16:06:39 +00:00
|
|
|
{ config, lib, ... }:
|
2024-05-02 21:14:21 +00:00
|
|
|
|
|
|
|
let
|
2024-06-24 15:38:28 +00:00
|
|
|
cfg = config.aux.system.apps.social;
|
2024-05-02 21:14:21 +00:00
|
|
|
in
|
|
|
|
{
|
2024-05-07 22:02:59 +00:00
|
|
|
options = {
|
2024-08-02 21:55:48 +00:00
|
|
|
aux.system.apps.social.enable = lib.mkEnableOption "Enables chat apps";
|
2024-05-07 22:02:59 +00:00
|
|
|
};
|
2024-05-02 21:14:21 +00:00
|
|
|
|
2024-08-02 21:55:48 +00:00
|
|
|
config = lib.mkIf cfg.enable {
|
2024-06-25 18:13:15 +00:00
|
|
|
aux.system = {
|
|
|
|
allowUnfree = true;
|
|
|
|
ui.flatpak = {
|
|
|
|
enable = true;
|
2024-11-03 16:06:39 +00:00
|
|
|
packages = [
|
|
|
|
"com.discordapp.Discord"
|
|
|
|
"dev.geopjr.Tuba"
|
|
|
|
];
|
2024-06-25 18:13:15 +00:00
|
|
|
};
|
|
|
|
};
|
2024-05-07 22:02:59 +00:00
|
|
|
};
|
2024-05-02 21:14:21 +00:00
|
|
|
}
|