24 lines
407 B
Nix
24 lines
407 B
Nix
{ config, lib, ... }:
|
|
|
|
let
|
|
cfg = config.aux.system.apps.social;
|
|
in
|
|
{
|
|
options = {
|
|
aux.system.apps.social.enable = lib.mkEnableOption "Enables chat apps";
|
|
};
|
|
|
|
config = lib.mkIf cfg.enable {
|
|
aux.system = {
|
|
allowUnfree = true;
|
|
ui.flatpak = {
|
|
enable = true;
|
|
packages = [
|
|
"com.discordapp.Discord"
|
|
"dev.geopjr.Tuba"
|
|
];
|
|
};
|
|
};
|
|
};
|
|
}
|