mirror of
https://github.com/js0ny/dotfiles.git
synced 2025-12-21 08:43:00 +00:00
apps: discord
This commit is contained in:
parent
bddc75a08b
commit
dc742c2b52
21 changed files with 221 additions and 50 deletions
|
|
@ -57,5 +57,6 @@
|
|||
exiftool
|
||||
ddgr # DuckDuckGo CLI
|
||||
jujutsu
|
||||
github-copilot-cli
|
||||
];
|
||||
}
|
||||
|
|
|
|||
|
|
@ -15,8 +15,7 @@
|
|||
"com.tencent.WeChat"
|
||||
# "eu.betterbird.Betterbird"
|
||||
# "com.baidu.NetDisk"
|
||||
"com.discordapp.Discord"
|
||||
"com.spotify.Client"
|
||||
# "com.discordapp.Discord"
|
||||
"com.google.EarthPro"
|
||||
"com.wps.Office"
|
||||
"md.obsidian.Obsidian"
|
||||
|
|
@ -24,7 +23,7 @@
|
|||
# "com.vivaldi.Vivaldi"
|
||||
"com.getpostman.Postman"
|
||||
"us.zoom.Zoom"
|
||||
"com.ticktick.Ticktick"
|
||||
"com.ticktick.TickTick"
|
||||
];
|
||||
services.flatpak.overrides = {
|
||||
global = {
|
||||
|
|
@ -50,6 +49,9 @@
|
|||
};
|
||||
"md.obsidian.Obsidian".Context.sockets = ["wayland"];
|
||||
"com.ticktick.Ticktick".Context.sockets = ["wayland"];
|
||||
"com.getpostman.Postman".Context.persistent = ["Postman"];
|
||||
"com.getpostman.Postman".Context = {
|
||||
persistent = ["Postman"];
|
||||
sockets = ["wayland"];
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
|
|
@ -47,6 +47,7 @@ in {
|
|||
|
||||
pcloud
|
||||
materialgram
|
||||
ayugram-desktop
|
||||
steam
|
||||
signal-desktop
|
||||
# Use Wayland for Jetbrains
|
||||
|
|
@ -71,13 +72,17 @@ in {
|
|||
steam-run
|
||||
bottles
|
||||
lutris
|
||||
vivaldi
|
||||
rustdesk
|
||||
kdePackages.krdc
|
||||
kdePackages.breeze
|
||||
zotero
|
||||
anki-bin
|
||||
feishin
|
||||
bruno
|
||||
bruno-cli
|
||||
cider-2
|
||||
kicad
|
||||
blender
|
||||
]
|
||||
++ (mkFcitxIM [
|
||||
pkgs.neovim-qt
|
||||
|
|
|
|||
|
|
@ -122,9 +122,11 @@
|
|||
{
|
||||
matches = [
|
||||
{app-id = "^org.telegram.desktop$";}
|
||||
{app-id = "^io.github.kukuruzka165.materialgram$";}
|
||||
{app-id = "^com.ayugram.desktop$";}
|
||||
{app-id = "^wechat$";}
|
||||
{app-id = "^QQ$";}
|
||||
{app-id = "^io.github.kukuruzka165.materialgram$";}
|
||||
{app-id = "^discord$";}
|
||||
{app-id = "^thunderbird$";}
|
||||
];
|
||||
open-on-workspace = "info";
|
||||
|
|
@ -132,6 +134,7 @@
|
|||
{
|
||||
matches = [
|
||||
{app-id = "^feishin$";}
|
||||
{app-id = "^Cider$";}
|
||||
];
|
||||
open-on-workspace = "bg";
|
||||
}
|
||||
|
|
|
|||
|
|
@ -47,9 +47,15 @@ in {
|
|||
brightnessctl
|
||||
playerctl
|
||||
powerprofiles-next
|
||||
blueman
|
||||
];
|
||||
programs.swaylock = {
|
||||
enable = true;
|
||||
package = pkgs.swaylock-effects;
|
||||
};
|
||||
xdg.portal = {
|
||||
enable = true;
|
||||
extraPortals = with pkgs; [xdg-desktop-portal-wlr xdg-desktop-portal-gtk];
|
||||
};
|
||||
services.blueman-applet.enable = true;
|
||||
}
|
||||
|
|
|
|||
39
nixcfgs/users/js0ny/programs/discord.nix
Normal file
39
nixcfgs/users/js0ny/programs/discord.nix
Normal file
|
|
@ -0,0 +1,39 @@
|
|||
{...}: {
|
||||
programs.nixcord = {
|
||||
enable = true;
|
||||
|
||||
# Clients
|
||||
discord = {
|
||||
enable = true;
|
||||
autoscroll.enable = true;
|
||||
vencord.enable = true;
|
||||
};
|
||||
|
||||
# Plugins
|
||||
config = {
|
||||
plugins = {
|
||||
alwaysAnimate.enable = true;
|
||||
alwaysTrust.enable = true;
|
||||
clearURLs.enable = true;
|
||||
copyFileContents.enable = true;
|
||||
copyUserURLs.enable = true;
|
||||
disableCallIdle.enable = true;
|
||||
favoriteEmojiFirst.enable = true;
|
||||
forceOwnerCrown.enable = true;
|
||||
friendsSince.enable = true;
|
||||
noDevtoolsWarning.enable = true;
|
||||
readAllNotificationsButton.enable = true;
|
||||
serverInfo.enable = true;
|
||||
showMeYourName = {
|
||||
enable = true;
|
||||
mode = "nick-user";
|
||||
};
|
||||
silentMessageToggle.enable = true;
|
||||
silentTyping.enable = true;
|
||||
startupTimings.enable = true;
|
||||
validReply.enable = true;
|
||||
validUser.enable = true;
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
@ -30,6 +30,7 @@ in {
|
|||
# Privacy
|
||||
google-container
|
||||
facebook-container
|
||||
dont-track-me-google1
|
||||
|
||||
### Site Specific
|
||||
# Steam
|
||||
|
|
|
|||
|
|
@ -20,6 +20,9 @@
|
|||
# Disable Menu when pressing <Alt>
|
||||
"ui.key.menuAccessKey" = -1;
|
||||
"ui.key.menuAccessKeyFocuses" = false;
|
||||
# Disable Translations
|
||||
"browser.translations.enable" = false;
|
||||
"browser.translations.automaticallyPopup" = false;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
|
|||
|
|
@ -110,5 +110,11 @@
|
|||
icon = "https://nixos.org/favicon.ico";
|
||||
definedAliases = ["hm"];
|
||||
};
|
||||
flathub = {
|
||||
name = "Flathub";
|
||||
urls = [{template = "https://flathub.org/apps/search?q={searchTerms}";}];
|
||||
icon = "https://flathub.org/favicon.ico";
|
||||
definedAliases = ["flatpak" "flathub"];
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
# Why using nvim gui:
|
||||
# * when `rga-fzf`: nvim wrapper failed to launch
|
||||
# * nvim wrapper reports error on parsing filename with spaces
|
||||
gvim = "nvim-qt.desktop";
|
||||
gvim = "neovide.desktop";
|
||||
in {
|
||||
xdg.configFile."mimeapps.list".force = true;
|
||||
xdg.mime.enable = true;
|
||||
|
|
@ -18,6 +18,7 @@ in {
|
|||
"text/x-csrc" = gvim; # .c
|
||||
"text/x-chdr" = gvim; # .h
|
||||
"text/javascript" = gvim;
|
||||
"text/x-python" = gvim;
|
||||
# CSV
|
||||
"text/csv" = gvim;
|
||||
"text/markdown" = gvim;
|
||||
|
|
|
|||
|
|
@ -13,9 +13,12 @@ in {
|
|||
# image support
|
||||
pkg-config
|
||||
imagemagick
|
||||
stylua
|
||||
nodejs-slim_24 # for copilot-lua
|
||||
lua-language-server
|
||||
];
|
||||
};
|
||||
home.packages = with pkgs; [lua-language-server];
|
||||
# home.packages = with pkgs; [lua-language-server];
|
||||
programs.fish.shellAbbrs = nvimAlias;
|
||||
programs.bash.shellAliases = nvimAlias;
|
||||
programs.zsh.shellAliases = nvimAlias;
|
||||
|
|
|
|||
|
|
@ -44,6 +44,7 @@
|
|||
./programs/retroarch.nix
|
||||
./programs/neovide.nix
|
||||
./programs/edit-clipboard.nix
|
||||
./programs/discord.nix
|
||||
|
||||
# Desktop Linux
|
||||
./programs/desktop/plasma
|
||||
|
|
@ -58,6 +59,7 @@
|
|||
|
||||
# Development setup
|
||||
../../modules/home/dev/nix.nix
|
||||
../../modules/home/dev/java.nix
|
||||
];
|
||||
|
||||
nixpkgs.config.allowUnfree = true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue