teutat3s
8ff750994e
Reviewed-on: https://git.b12f.io/pub-solar/os/pulls/15 Co-authored-by: teutat3s <teutates@mailbox.org> Co-committed-by: teutat3s <teutates@mailbox.org>
24 lines
463 B
Nix
24 lines
463 B
Nix
{ 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 = [
|
|
#mySignalDesktop
|
|
signal-desktop
|
|
tdesktop
|
|
element-desktop-wayland
|
|
irssi
|
|
];
|
|
};
|
|
};
|
|
}
|