1
0
Fork 0
nix-configuration/modules/nixos/apps/social/default.nix
2024-12-13 00:34:19 -05:00

29 lines
420 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"
];
};
};
};
}