24 lines
399 B
Nix
24 lines
399 B
Nix
|
{ pkgs, config, lib, ... }:
|
||
|
|
||
|
let
|
||
|
cfg = config.host.apps.social;
|
||
|
in
|
||
|
with lib;
|
||
|
{
|
||
|
options = {
|
||
|
host.apps.social.enable = mkEnableOption (mdDoc "Enables chat apps");
|
||
|
};
|
||
|
|
||
|
config = mkIf cfg.enable {
|
||
|
nixpkgs.config.allowUnfree = true;
|
||
|
environment.systemPackages = with pkgs; [
|
||
|
beeper
|
||
|
];
|
||
|
|
||
|
host.ui.flatpak.enable = true;
|
||
|
services.flatpak.packages = [
|
||
|
"com.discordapp.Discord"
|
||
|
];
|
||
|
};
|
||
|
}
|