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

30 lines
448 B
Nix

{
config,
lib,
pkgs,
namespace,
...
}:
let
cfg = config.${namespace}.apps.social;
in
{
options = {
${namespace}.apps.social.enable = lib.mkEnableOption "Enables chat apps";
};
config = lib.mkIf cfg.enable {
${namespace} = {
packages = [ pkgs.beeper ];
ui.flatpak = {
enable = true;
packages = [
"com.discordapp.Discord"
"dev.geopjr.Tuba"
];
};
};
};
}