From be29f1c4fb868221bf3f1ad97a580cfb792202c5 Mon Sep 17 00:00:00 2001 From: Dmitriy Kholkin Date: Thu, 21 Aug 2025 04:38:04 +0300 Subject: [PATCH] feat: add vesktop module for desktop hosts by default --- modules/home/applications/vesktop.nix | 34 +++++++++++++++++++++++++++ modules/home/roles/default.nix | 1 + 2 files changed, 35 insertions(+) create mode 100644 modules/home/applications/vesktop.nix diff --git a/modules/home/applications/vesktop.nix b/modules/home/applications/vesktop.nix new file mode 100644 index 0000000..48790a1 --- /dev/null +++ b/modules/home/applications/vesktop.nix @@ -0,0 +1,34 @@ +{ config, lib, ... }: +let + inherit (lib) mkEnableOption mkIf; + cfg = config.ataraxia.programs.vesktop; +in +{ + options.ataraxia.programs.vesktop = { + enable = mkEnableOption "Enable vesktop program"; + }; + + config = mkIf cfg.enable { + programs.vesktop.enable = true; + programs.vesktop.settings = { + # appBadge = false; + # arRPC = true; + # checkUpdates = false; + # customTitleBar = false; + # disableMinSize = true; + minimizeToTray = true; + # tray = false; + # splashBackground = "#000000"; + # splashColor = "#ffffff"; + # splashTheming = true; + # staticTitle = true; + hardwareAcceleration = true; + discordBranch = "canary"; + }; + # programs.vesktop.vencord.settings = {}; + # programs.vesktop.vencord.themes = {}; + # programs.vesktop.vencord.useSystem = false; + + persist.state.directories = [ ".config/vesktop" ]; + }; +} diff --git a/modules/home/roles/default.nix b/modules/home/roles/default.nix index 7954df8..b5367cb 100644 --- a/modules/home/roles/default.nix +++ b/modules/home/roles/default.nix @@ -92,6 +92,7 @@ in ataraxia.programs.spotify.enable = mkDefault true; ataraxia.programs.telegram.enable = mkDefault true; ataraxia.programs.thunderbird.enable = mkDefault true; + ataraxia.programs.vesktop.enable = mkDefault true; ataraxia.programs.vscode.enable = mkDefault true; ataraxia.programs.walker.enable = mkDefault true; ataraxia.programs.zathura.enable = mkDefault true;