flakes/users/rin/packages.nix

80 lines
1.8 KiB
Nix
Raw Normal View History

2021-12-18 19:47:09 +07:00
{ config, enableGUI, inputs, pkgs, ... }:
let
mediaKeyPatch = pkgs.fetchurl {
url = "https://github.com/powercord-org/powercord/commit/6c9e57de7fcbd50e473c6d9b1c81e56fef85fa93.diff";
sha256 = "16jy1qkkbjxmylqpjfm3y47nf40hw5anq284aj6kc9z3n3323pic";
};
2021-12-18 19:47:09 +07:00
discord = pkgs.discord-plugged.override {
powercord = pkgs.powercord.override {
powercord-unwrapped = pkgs.powercord.unwrapped.overrideAttrs(old: {
patches = (if (old ? patches) then old.patches else []) ++ [
mediaKeyPatch
./powercordMediaKeyPatchPatch.patch
];
});
};
2021-12-18 19:47:09 +07:00
plugins = [
inputs.better-status-indicators
inputs.channel-typing
inputs.discord-tweaks
inputs.fix-user-popouts
inputs.multitask
2021-12-18 19:47:09 +07:00
inputs.no-double-back-pc
inputs.powercord-popout-fix
inputs.rolecolor-everywhere
inputs.theme-toggler
inputs.twemoji-but-good
inputs.view-raw
inputs.who-reacted
];
themes = [
pkgs.me.discord-tokyonight
inputs.radialstatus
inputs.tokyonight
inputs.zelk
];
};
in {
2022-01-16 15:25:39 +07:00
programs.firefox = {
enable = true;
package = pkgs.firefox.override { extraNativeMessagingHosts = [ pkgs.passff-host ]; };
};
2021-07-15 20:57:51 +07:00
home.packages = with pkgs; [
2021-10-09 11:58:26 +07:00
dconf
2021-07-15 20:57:51 +07:00
ffmpeg
gnupg
kitty
2021-07-15 20:57:51 +07:00
nodejs-16_x
pamixer
rnix-lsp
unrar
2021-08-06 16:26:46 +07:00
weechat
2021-07-15 20:57:51 +07:00
youtube-dl
nodePackages_latest.pnpm
] ++ lib.optionals enableGUI [
2021-12-18 19:47:09 +07:00
discord
2021-07-15 20:57:51 +07:00
element-desktop
2022-03-22 23:50:53 +07:00
eww
2021-07-15 20:57:51 +07:00
feh
gnome.file-roller
gimp
kotatogram-desktop
2021-07-17 05:45:38 +07:00
insomnia
2021-07-15 20:57:51 +07:00
maim
2022-01-05 21:02:35 +07:00
me.tetrio-desktop-plus
2021-07-17 13:32:56 +07:00
obs-studio
openjdk17
2021-07-15 20:57:51 +07:00
pavucontrol
2022-02-02 17:41:47 +07:00
polymc
2021-07-17 14:09:11 +07:00
screenkey
2021-07-15 20:57:51 +07:00
tor-browser-bundle-bin
transmission-remote-gtk
inputs.nix-gaming.packages.x86_64-linux.wine-tkg
winetricks
2021-07-15 20:57:51 +07:00
xclip
xorg.xgamma
];
}