equibop: init

This commit is contained in:
Perchun Pak
2026-03-25 12:23:42 +01:00
committed by Austin Horstman
parent 6a1992acd9
commit 508daf831a
7 changed files with 125 additions and 0 deletions

View File

@@ -0,0 +1,10 @@
{ pkgs, ... }:
{
time = "2026-03-25T12:00:11+00:00";
condition = pkgs.stdenv.hostPlatform.isLinux;
message = ''
Added a new module `equibop`.
Equibop is a fork of Vesktop with more plugins.
'';
}

View File

@@ -0,0 +1,19 @@
{ lib, ... }:
let
mkVesktopLikeModule = import ./vesktop/mkVesktopLikeModule.nix;
in
{
imports = [
(mkVesktopLikeModule {
moduleName = "equibop";
cordModuleName = "equicord";
settingsLink = "https://github.com/Equicord/Equibop/blob/main/src/shared/settings.d.ts";
cordSettingsLink = "https://github.com/Equicord/Equicord/blob/main/src/api/Settings.ts";
installPackage = true;
maintainers = with lib.maintainers; [
PerchunPak
NotAShelf
];
})
];
}

View File

@@ -0,0 +1,57 @@
{
config = {
programs.equibop = {
enable = true;
settings = {
tray = false;
minimizeToTray = false;
hardwareAcceleration = true;
customTitleBar = false;
staticTitle = true;
discordBranch = "stable";
};
equicord = {
themes.my_theme = ''
.privateChannels_f0963d::after {
content: "";
position: absolute;
width: 100%;
height: 100%;
top: 0;
left: 0;
z-index: 1000;
background: linear-gradient(to bottom, transparent 85%, var(--base00));
pointer-events: none;
}
'';
settings = {
autoUpdate = false;
autoUpdateNotification = false;
notifyAboutUpdates = false;
useQuickCss = true;
disableMinSize = true;
plugins = {
MessageLogger = {
enabled = true;
ignoreSelf = true;
};
FakeNitro.enabled = true;
};
};
};
};
nmt.script = ''
configDir=home-files/.config/equibop
assertFileExists $configDir/settings.json
assertFileContent $configDir/settings.json \
${./basic-settings.json}
assertFileExists $configDir/settings/settings.json
assertFileContent $configDir/settings/settings.json \
${./basic-equicord-settings.json}
assertFileExists $configDir/themes/my_theme.css
assertFileContent $configDir/themes/my_theme.css \
${./basic-theme.css}
'';
};
}

View File

@@ -0,0 +1,16 @@
{
"autoUpdate": false,
"autoUpdateNotification": false,
"disableMinSize": true,
"notifyAboutUpdates": false,
"plugins": {
"FakeNitro": {
"enabled": true
},
"MessageLogger": {
"enabled": true,
"ignoreSelf": true
}
},
"useQuickCss": true
}

View File

@@ -0,0 +1,8 @@
{
"customTitleBar": false,
"discordBranch": "stable",
"hardwareAcceleration": true,
"minimizeToTray": false,
"staticTitle": true,
"tray": false
}

View File

@@ -0,0 +1,11 @@
.privateChannels_f0963d::after {
content: "";
position: absolute;
width: 100%;
height: 100%;
top: 0;
left: 0;
z-index: 1000;
background: linear-gradient(to bottom, transparent 85%, var(--base00));
pointer-events: none;
}

View File

@@ -0,0 +1,4 @@
{ lib, pkgs, ... }:
lib.optionalAttrs pkgs.stdenv.hostPlatform.isLinux {
equibop-basic-configuration = ./basic-configuration.nix;
}