From f02f26636e8437411a2ad5c9f1f1823ec6ed4608 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Leon=20Schwarz=C3=A4ugl?= Date: Sat, 11 Oct 2025 21:56:50 +0200 Subject: [PATCH] feat[client]: add vesktop --- SwarselSystems.org | 92 ++++++++++++++++++++++++++++++-- modules/home/common/packages.nix | 2 +- modules/home/common/vesktop.nix | 79 +++++++++++++++++++++++++++ nix/overlays.nix | 6 +-- 4 files changed, 171 insertions(+), 8 deletions(-) create mode 100644 modules/home/common/vesktop.nix diff --git a/SwarselSystems.org b/SwarselSystems.org index 78909b8..6fd98fd 100644 --- a/SwarselSystems.org +++ b/SwarselSystems.org @@ -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; }; modifications = final: prev: { - vesktop = prev.vesktop.override { - withSystemVencord = true; - }; + # vesktop = prev.vesktop.override { + # withSystemVencord = true; + # }; firefox = prev.firefox.override { nativeMessagingHosts = [ @@ -11169,7 +11169,7 @@ This holds packages that I can use as provided, or with small modifications (as xournalpp # obsidian # spotify - vesktop # discord client + # vesktop # discord client # nextcloud-client # enables a systemd service that I do not want spotify-player element-desktop @@ -14627,6 +14627,90 @@ This service changes the screen hue at night. I am not sure if that really does } #+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 :PROPERTIES: :CUSTOM_ID: h:b1a00339-6e9b-4ae4-b5dc-6fd5669a2ddb diff --git a/modules/home/common/packages.nix b/modules/home/common/packages.nix index 10622dc..e6a6e41 100644 --- a/modules/home/common/packages.nix +++ b/modules/home/common/packages.nix @@ -79,7 +79,7 @@ xournalpp # obsidian # spotify - vesktop # discord client + # vesktop # discord client # nextcloud-client # enables a systemd service that I do not want spotify-player element-desktop diff --git a/modules/home/common/vesktop.nix b/modules/home/common/vesktop.nix new file mode 100644 index 0000000..2085653 --- /dev/null +++ b/modules/home/common/vesktop.nix @@ -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; + }; + }; + }; + }; + }; + }; + +} diff --git a/nix/overlays.nix b/nix/overlays.nix index 04222d3..7b9b055 100644 --- a/nix/overlays.nix +++ b/nix/overlays.nix @@ -12,9 +12,9 @@ in additions = final: _: import "${self}/pkgs" { pkgs = final; inherit self lib; }; modifications = final: prev: { - vesktop = prev.vesktop.override { - withSystemVencord = true; - }; + # vesktop = prev.vesktop.override { + # withSystemVencord = true; + # }; firefox = prev.firefox.override { nativeMessagingHosts = [