os/modules/social/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

27 lines
469 B
Nix
Raw Normal View History

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 = [
signal-desktop
2021-05-30 19:10:28 +00:00
tdesktop
element-desktop
mattermost-desktop
2021-05-30 19:10:28 +00:00
];
2023-02-25 13:45:21 +00:00
};
2021-05-30 19:10:28 +00:00
};
}