2022-07-06 10:50:25 +00:00
|
|
|
{
|
|
|
|
config,
|
|
|
|
pkgs,
|
2022-10-26 08:18:54 +00:00
|
|
|
lib,
|
2022-07-06 10:50:25 +00:00
|
|
|
...
|
2022-10-18 11:25:05 +00:00
|
|
|
}:
|
|
|
|
let
|
|
|
|
firefox-wrapped = config.programs.firefox.package;
|
|
|
|
firefox = firefox-wrapped.unwrapped;
|
2022-10-18 11:29:27 +00:00
|
|
|
nss = pkgs.lib.lists.findFirst (x: x.pname or x.name == "nss") null firefox.buildInputs;
|
2022-10-18 11:25:05 +00:00
|
|
|
in {
|
2022-01-18 16:23:30 +00:00
|
|
|
home.packages = with pkgs; [
|
2022-10-18 11:25:05 +00:00
|
|
|
(discord.override { inherit nss; })
|
2022-10-18 11:26:47 +00:00
|
|
|
tdesktop
|
2022-09-12 15:13:53 +00:00
|
|
|
element-desktop
|
2022-01-18 16:23:30 +00:00
|
|
|
];
|
2022-10-26 08:18:54 +00:00
|
|
|
home.activation.betterDiscord = lib.hm.dag.entryAfter ["writeBoundary"] ''
|
|
|
|
$DRY_RUN_CMD ${pkgs.betterdiscordctl}/bin/betterdiscordctl install $VERBOSE_ARG || true
|
|
|
|
'';
|
2022-01-18 16:23:30 +00:00
|
|
|
}
|