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