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

30 lines
448 B
Nix
Raw Normal View History

{
config,
lib,
pkgs,
2024-12-06 18:04:47 +00:00
namespace,
...
}:
let
2024-12-06 18:04:47 +00:00
cfg = config.${namespace}.apps.social;
in
{
options = {
2024-12-06 18:04:47 +00:00
${namespace}.apps.social.enable = lib.mkEnableOption "Enables chat apps";
};
2024-08-02 21:55:48 +00:00
config = lib.mkIf cfg.enable {
2024-12-06 18:04:47 +00:00
${namespace} = {
packages = [ pkgs.beeper ];
2024-06-25 18:13:15 +00:00
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
};
};
};
}