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

32 lines
575 B
Nix
Raw Normal View History

{
pkgs,
config,
lib,
...
}:
let
cfg = config.aux.system.apps.social;
in
{
options = {
2024-08-02 17:55:48 -04:00
aux.system.apps.social.enable = lib.mkEnableOption "Enables chat apps";
};
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"
"im.riot.Riot" # Element
];
2024-06-25 14:13:15 -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 ];
};
}