2021-05-30 19:10:28 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
config,
|
|
|
|
pkgs,
|
|
|
|
...
|
|
|
|
}:
|
|
|
|
with lib; let
|
|
|
|
psCfg = config.pub-solar;
|
|
|
|
cfg = config.pub-solar.social;
|
|
|
|
in {
|
|
|
|
options.pub-solar.social = {
|
|
|
|
enable = mkEnableOption "Life with others";
|
|
|
|
};
|
|
|
|
|
|
|
|
config = mkIf cfg.enable {
|
|
|
|
home-manager = with pkgs;
|
|
|
|
pkgs.lib.setAttrByPath ["users" psCfg.user.name] {
|
|
|
|
home.packages = [
|
2022-07-07 20:24:43 +00:00
|
|
|
signal-desktop
|
2021-05-30 19:10:28 +00:00
|
|
|
tdesktop
|
2022-08-21 22:07:33 +00:00
|
|
|
discord
|
2022-01-31 16:09:49 +00:00
|
|
|
element-desktop
|
2022-08-21 22:07:33 +00:00
|
|
|
tdesktop
|
|
|
|
mattermost-desktop
|
|
|
|
whatsapp-for-linux
|
2021-05-30 19:10:28 +00:00
|
|
|
];
|
2022-08-21 22:07:33 +00:00
|
|
|
};
|
2021-05-30 19:10:28 +00:00
|
|
|
};
|
|
|
|
}
|