rin/packages: move discord into let

This commit is contained in:
LavaDesu 2021-12-18 19:47:09 +07:00
parent ff5273b720
commit 7da808dafd
Signed by: cilly
GPG key ID: 6500251E087653C9

View file

@ -1,21 +1,6 @@
{ config, enableGUI, inputs, pkgs, ... }: {
home.packages = with pkgs; [
dconf
ffmpeg
gnupg
kitty
nodejs-16_x
pamixer
rnix-lsp
unrar
weechat
youtube-dl
nodePackages_latest.pnpm
] ++ lib.optionals enableGUI [
adoptopenjdk-hotspot-bin-16
brave
(discord-plugged.override {
{ config, enableGUI, inputs, pkgs, ... }:
let
discord = pkgs.discord-plugged.override {
plugins = [
inputs.better-status-indicators
inputs.channel-typing
@ -35,7 +20,25 @@
inputs.tokyonight
inputs.zelk
];
})
};
in {
home.packages = with pkgs; [
dconf
ffmpeg
gnupg
kitty
nodejs-16_x
pamixer
rnix-lsp
unrar
weechat
youtube-dl
nodePackages_latest.pnpm
] ++ lib.optionals enableGUI [
adoptopenjdk-hotspot-bin-16
brave
discord
element-desktop
feh
gnome.file-roller