mirror of
https://github.com/Swarsel/.dotfiles.git
synced 2025-12-06 09:07:21 +01:00
feat[client]: add vesktop
This commit is contained in:
parent
f0b7b7ad7f
commit
f02f26636e
4 changed files with 171 additions and 8 deletions
|
|
@ -1483,9 +1483,9 @@ On the structure of overlays: as you notice, all of the attributes within overla
|
||||||
additions = final: _: import "${self}/pkgs" { pkgs = final; inherit self lib; };
|
additions = final: _: import "${self}/pkgs" { pkgs = final; inherit self lib; };
|
||||||
|
|
||||||
modifications = final: prev: {
|
modifications = final: prev: {
|
||||||
vesktop = prev.vesktop.override {
|
# vesktop = prev.vesktop.override {
|
||||||
withSystemVencord = true;
|
# withSystemVencord = true;
|
||||||
};
|
# };
|
||||||
|
|
||||||
firefox = prev.firefox.override {
|
firefox = prev.firefox.override {
|
||||||
nativeMessagingHosts = [
|
nativeMessagingHosts = [
|
||||||
|
|
@ -11169,7 +11169,7 @@ This holds packages that I can use as provided, or with small modifications (as
|
||||||
xournalpp
|
xournalpp
|
||||||
# obsidian
|
# obsidian
|
||||||
# spotify
|
# spotify
|
||||||
vesktop # discord client
|
# vesktop # discord client
|
||||||
# nextcloud-client # enables a systemd service that I do not want
|
# nextcloud-client # enables a systemd service that I do not want
|
||||||
spotify-player
|
spotify-player
|
||||||
element-desktop
|
element-desktop
|
||||||
|
|
@ -14627,6 +14627,90 @@ This service changes the screen hue at night. I am not sure if that really does
|
||||||
}
|
}
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
|
**** vesktop
|
||||||
|
|
||||||
|
#+begin_src nix-ts :tangle modules/home/common/vesktop.nix
|
||||||
|
{ lib, config, ... }:
|
||||||
|
let
|
||||||
|
moduleName = "vesktop";
|
||||||
|
in
|
||||||
|
{
|
||||||
|
options.swarselmodules.${moduleName} = lib.mkEnableOption "enable ${moduleName} and settings";
|
||||||
|
config = lib.mkIf config.swarselmodules.${moduleName} {
|
||||||
|
programs.${moduleName} = {
|
||||||
|
enable = true;
|
||||||
|
settings = {
|
||||||
|
appBadge = false;
|
||||||
|
arRPC = false;
|
||||||
|
checkUpdates = false;
|
||||||
|
customTitleBar = false;
|
||||||
|
disableMinSize = true;
|
||||||
|
minimizeToTray = true;
|
||||||
|
tray = true;
|
||||||
|
staticTitle = true;
|
||||||
|
hardwareAcceleration = true;
|
||||||
|
discordBranch = "stable";
|
||||||
|
};
|
||||||
|
vencord = {
|
||||||
|
useSystem = true;
|
||||||
|
settings = {
|
||||||
|
autoUpdate = false;
|
||||||
|
autoUpdateNotification = false;
|
||||||
|
enableReactDevtools = false;
|
||||||
|
frameless = false;
|
||||||
|
transparent = false;
|
||||||
|
winCtrlQ = false;
|
||||||
|
notifyAboutUpdates = false;
|
||||||
|
useQuickCss = true;
|
||||||
|
disableMinSize = true;
|
||||||
|
winNativeTitleBar = false;
|
||||||
|
plugins = {
|
||||||
|
MessageLogger = {
|
||||||
|
enabled = true;
|
||||||
|
ignoreSelf = true;
|
||||||
|
};
|
||||||
|
ChatInputButtonAPI = {
|
||||||
|
enabled = false;
|
||||||
|
};
|
||||||
|
CommandsAPI = {
|
||||||
|
enabled = true;
|
||||||
|
};
|
||||||
|
MemberListDecoratorsAPI = {
|
||||||
|
enabled = false;
|
||||||
|
};
|
||||||
|
MessageAccessoriesAPI = {
|
||||||
|
enabled = true;
|
||||||
|
};
|
||||||
|
MessageDecorationsAPI = {
|
||||||
|
enabled = false;
|
||||||
|
};
|
||||||
|
MessageEventsAPI = {
|
||||||
|
enabled = false;
|
||||||
|
};
|
||||||
|
MessagePopoverAPI = {
|
||||||
|
enabled = false;
|
||||||
|
};
|
||||||
|
MessageUpdaterAPI = {
|
||||||
|
enabled = false;
|
||||||
|
};
|
||||||
|
ServerListAPI = {
|
||||||
|
enabled = false;
|
||||||
|
};
|
||||||
|
UserSettingsAPI = {
|
||||||
|
enabled = true;
|
||||||
|
};
|
||||||
|
FakeNitro = {
|
||||||
|
enabled = true;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
}
|
||||||
|
#+end_src
|
||||||
|
|
||||||
*** Server
|
*** Server
|
||||||
:PROPERTIES:
|
:PROPERTIES:
|
||||||
:CUSTOM_ID: h:b1a00339-6e9b-4ae4-b5dc-6fd5669a2ddb
|
:CUSTOM_ID: h:b1a00339-6e9b-4ae4-b5dc-6fd5669a2ddb
|
||||||
|
|
|
||||||
|
|
@ -79,7 +79,7 @@
|
||||||
xournalpp
|
xournalpp
|
||||||
# obsidian
|
# obsidian
|
||||||
# spotify
|
# spotify
|
||||||
vesktop # discord client
|
# vesktop # discord client
|
||||||
# nextcloud-client # enables a systemd service that I do not want
|
# nextcloud-client # enables a systemd service that I do not want
|
||||||
spotify-player
|
spotify-player
|
||||||
element-desktop
|
element-desktop
|
||||||
|
|
|
||||||
79
modules/home/common/vesktop.nix
Normal file
79
modules/home/common/vesktop.nix
Normal file
|
|
@ -0,0 +1,79 @@
|
||||||
|
{ lib, config, ... }:
|
||||||
|
let
|
||||||
|
moduleName = "vesktop";
|
||||||
|
in
|
||||||
|
{
|
||||||
|
options.swarselmodules.${moduleName} = lib.mkEnableOption "enable ${moduleName} and settings";
|
||||||
|
config = lib.mkIf config.swarselmodules.${moduleName} {
|
||||||
|
programs.${moduleName} = {
|
||||||
|
enable = true;
|
||||||
|
settings = {
|
||||||
|
appBadge = false;
|
||||||
|
arRPC = false;
|
||||||
|
checkUpdates = false;
|
||||||
|
customTitleBar = false;
|
||||||
|
disableMinSize = true;
|
||||||
|
minimizeToTray = true;
|
||||||
|
tray = true;
|
||||||
|
staticTitle = true;
|
||||||
|
hardwareAcceleration = true;
|
||||||
|
discordBranch = "stable";
|
||||||
|
};
|
||||||
|
vencord = {
|
||||||
|
useSystem = true;
|
||||||
|
settings = {
|
||||||
|
autoUpdate = false;
|
||||||
|
autoUpdateNotification = false;
|
||||||
|
enableReactDevtools = false;
|
||||||
|
frameless = false;
|
||||||
|
transparent = false;
|
||||||
|
winCtrlQ = false;
|
||||||
|
notifyAboutUpdates = false;
|
||||||
|
useQuickCss = true;
|
||||||
|
disableMinSize = true;
|
||||||
|
winNativeTitleBar = false;
|
||||||
|
plugins = {
|
||||||
|
MessageLogger = {
|
||||||
|
enabled = true;
|
||||||
|
ignoreSelf = true;
|
||||||
|
};
|
||||||
|
ChatInputButtonAPI = {
|
||||||
|
enabled = false;
|
||||||
|
};
|
||||||
|
CommandsAPI = {
|
||||||
|
enabled = true;
|
||||||
|
};
|
||||||
|
MemberListDecoratorsAPI = {
|
||||||
|
enabled = false;
|
||||||
|
};
|
||||||
|
MessageAccessoriesAPI = {
|
||||||
|
enabled = true;
|
||||||
|
};
|
||||||
|
MessageDecorationsAPI = {
|
||||||
|
enabled = false;
|
||||||
|
};
|
||||||
|
MessageEventsAPI = {
|
||||||
|
enabled = false;
|
||||||
|
};
|
||||||
|
MessagePopoverAPI = {
|
||||||
|
enabled = false;
|
||||||
|
};
|
||||||
|
MessageUpdaterAPI = {
|
||||||
|
enabled = false;
|
||||||
|
};
|
||||||
|
ServerListAPI = {
|
||||||
|
enabled = false;
|
||||||
|
};
|
||||||
|
UserSettingsAPI = {
|
||||||
|
enabled = true;
|
||||||
|
};
|
||||||
|
FakeNitro = {
|
||||||
|
enabled = true;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
}
|
||||||
|
|
@ -12,9 +12,9 @@ in
|
||||||
additions = final: _: import "${self}/pkgs" { pkgs = final; inherit self lib; };
|
additions = final: _: import "${self}/pkgs" { pkgs = final; inherit self lib; };
|
||||||
|
|
||||||
modifications = final: prev: {
|
modifications = final: prev: {
|
||||||
vesktop = prev.vesktop.override {
|
# vesktop = prev.vesktop.override {
|
||||||
withSystemVencord = true;
|
# withSystemVencord = true;
|
||||||
};
|
# };
|
||||||
|
|
||||||
firefox = prev.firefox.override {
|
firefox = prev.firefox.override {
|
||||||
nativeMessagingHosts = [
|
nativeMessagingHosts = [
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue