feat(desktop): add nixcord module
All checks were successful
Discord / discord commits (push) Has been skipped
All checks were successful
Discord / discord commits (push) Has been skipped
This commit is contained in:
parent
de5e8c58d2
commit
22d186472e
4 changed files with 85 additions and 16 deletions
BIN
flake.lock
BIN
flake.lock
Binary file not shown.
BIN
flake.nix
BIN
flake.nix
Binary file not shown.
|
@ -145,6 +145,14 @@ let
|
||||||
owner = "eriedaberrie";
|
owner = "eriedaberrie";
|
||||||
repo = "grim-hyprland";
|
repo = "grim-hyprland";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
nixcord = mkDep {
|
||||||
|
owner = "kaylorben";
|
||||||
|
repo = "nixcord";
|
||||||
|
|
||||||
|
# FIXME: https://github.com/KaylorBen/nixcord/pull/69
|
||||||
|
rev = "02247bedd6988a1169c4499406970b92bfd8aa02";
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
agsInputs = {
|
agsInputs = {
|
||||||
|
|
|
@ -5,7 +5,7 @@ self: {
|
||||||
...
|
...
|
||||||
}: let
|
}: let
|
||||||
inherit (self.lib.hypr) mkBind;
|
inherit (self.lib.hypr) mkBind;
|
||||||
inherit (self.inputs) jellyfin-flake;
|
inherit (self.inputs) jellyfin-flake nixcord;
|
||||||
|
|
||||||
inherit (lib) attrValues getExe mkIf optionals;
|
inherit (lib) attrValues getExe mkIf optionals;
|
||||||
inherit (pkgs.writers) writeTOML;
|
inherit (pkgs.writers) writeTOML;
|
||||||
|
@ -43,6 +43,8 @@ in {
|
||||||
(import ../home/mpv.nix self)
|
(import ../home/mpv.nix self)
|
||||||
(import ../home/obs.nix self)
|
(import ../home/obs.nix self)
|
||||||
|
|
||||||
|
nixcord.homeManagerModules.nixcord
|
||||||
|
|
||||||
({config, ...}: let
|
({config, ...}: let
|
||||||
inherit (config.lib.file) mkOutOfStoreSymlink;
|
inherit (config.lib.file) mkOutOfStoreSymlink;
|
||||||
configDir = "${flakeDir}/modules/desktop/environment/config";
|
configDir = "${flakeDir}/modules/desktop/environment/config";
|
||||||
|
@ -66,7 +68,72 @@ in {
|
||||||
})
|
})
|
||||||
];
|
];
|
||||||
|
|
||||||
programs.sioyek = {
|
programs = {
|
||||||
|
nixcord = {
|
||||||
|
enable = true;
|
||||||
|
|
||||||
|
discord = {
|
||||||
|
vencord.unstable = true;
|
||||||
|
|
||||||
|
settings = {
|
||||||
|
skipHostUpdate = true;
|
||||||
|
dangerousEnableDevtoolsOnlyEnableIfYouKnowWhatYoureDoing = true;
|
||||||
|
minWidth = 940;
|
||||||
|
minHeight = 500;
|
||||||
|
isMaximized = true;
|
||||||
|
isMinimized = false;
|
||||||
|
enableHardwareAcceleration = !isNvidia;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
config = {
|
||||||
|
notifyAboutUpdates = false;
|
||||||
|
autoUpdate = false;
|
||||||
|
autoUpdateNotification = false;
|
||||||
|
|
||||||
|
themeLinks = [
|
||||||
|
"https://markchan0225.github.io/RoundedDiscord/RoundedDiscord.theme.css"
|
||||||
|
"https://raw.githubusercontent.com/dracula/BetterDiscord/master/Dracula_Official.theme.css"
|
||||||
|
];
|
||||||
|
|
||||||
|
plugins = {
|
||||||
|
alwaysTrust.enable = true;
|
||||||
|
biggerStreamPreview.enable = true;
|
||||||
|
clearURLs.enable = true;
|
||||||
|
crashHandler.enable = true;
|
||||||
|
disableCallIdle.enable = true;
|
||||||
|
emoteCloner.enable = true;
|
||||||
|
imageZoom.enable = true;
|
||||||
|
memberCount.enable = true;
|
||||||
|
messageLinkEmbeds.enable = true;
|
||||||
|
|
||||||
|
messageLogger = {
|
||||||
|
enable = true;
|
||||||
|
ignoreBots = true;
|
||||||
|
ignoreSelf = true;
|
||||||
|
};
|
||||||
|
|
||||||
|
mutualGroupDMs.enable = true;
|
||||||
|
onePingPerDM.enable = true;
|
||||||
|
openInApp.enable = true;
|
||||||
|
platformIndicators.enable = true;
|
||||||
|
previewMessage.enable = true;
|
||||||
|
readAllNotificationsButton.enable = true;
|
||||||
|
reverseImageSearch.enable = true;
|
||||||
|
spotifyCrack.enable = true;
|
||||||
|
themeAttributes.enable = true;
|
||||||
|
typingIndicator.enable = true;
|
||||||
|
typingTweaks.enable = true;
|
||||||
|
viewIcons.enable = true;
|
||||||
|
viewRaw.enable = true;
|
||||||
|
voiceChatDoubleClick.enable = true;
|
||||||
|
volumeBooster.enable = true;
|
||||||
|
whoReacted.enable = true;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
sioyek = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
||||||
config = {
|
config = {
|
||||||
|
@ -76,6 +143,7 @@ in {
|
||||||
source = toString self.scopedPackages.${pkgs.system}.dracula.sioyek;
|
source = toString self.scopedPackages.${pkgs.system}.dracula.sioyek;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
};
|
||||||
|
|
||||||
home.packages = attrValues {
|
home.packages = attrValues {
|
||||||
# School
|
# School
|
||||||
|
@ -96,6 +164,7 @@ in {
|
||||||
swayimg
|
swayimg
|
||||||
nextcloud-client
|
nextcloud-client
|
||||||
prismlauncher
|
prismlauncher
|
||||||
|
vesktop # screen-sharing on desktop
|
||||||
;
|
;
|
||||||
|
|
||||||
# tools
|
# tools
|
||||||
|
@ -116,14 +185,6 @@ in {
|
||||||
.jellyfin-media-player
|
.jellyfin-media-player
|
||||||
.override {isNvidiaWayland = isNvidia;};
|
.override {isNvidiaWayland = isNvidia;};
|
||||||
|
|
||||||
/*
|
|
||||||
Discord themes for Vencord
|
|
||||||
https://markchan0225.github.io/RoundedDiscord/RoundedDiscord.theme.css
|
|
||||||
https://raw.githubusercontent.com/dracula/BetterDiscord/master/Dracula_Official.theme.css
|
|
||||||
*/
|
|
||||||
discord = pkgs.discord.override {withVencord = true;};
|
|
||||||
inherit (pkgs) vesktop;
|
|
||||||
|
|
||||||
GParted = let
|
GParted = let
|
||||||
inherit (pkgs) writeShellScriptBin libsForQt5 gparted makeWrapper symlinkJoin;
|
inherit (pkgs) writeShellScriptBin libsForQt5 gparted makeWrapper symlinkJoin;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue