From 032d5e67a5605f24edfc98ddd5ae85e579f42208 Mon Sep 17 00:00:00 2001 From: LilleAila Date: Tue, 2 Jul 2024 22:29:50 +0200 Subject: [PATCH] vesktop: more descriptive option description --- modules/programs/vesktop.nix | 20 ++++++++++++++------ 1 file changed, 14 insertions(+), 6 deletions(-) diff --git a/modules/programs/vesktop.nix b/modules/programs/vesktop.nix index 39c0c2c2d..29e69c6b9 100644 --- a/modules/programs/vesktop.nix +++ b/modules/programs/vesktop.nix @@ -15,8 +15,12 @@ in { settings = lib.mkOption { type = jsonFormat.type; default = { }; - description = - "Vesktop settings to write to $HOME/.config/vesktop/settings.json"; + description = '' + Vesktop settings written to + {file}`$XDG_CONFIG_HOME/vesktop/settings.json`. See + + for available options. + ''; example = lib.literalExpression '' { appBadge = false; @@ -37,17 +41,21 @@ in { }; vencord = { - useSystem = lib.mkEnableOption "vencord package from nixpkgs"; + useSystem = lib.mkEnableOption "Vencord package from Nixpkgs"; theme = lib.mkOption { - description = "The theme to use for vencord"; + description = "The theme to use for Vencord"; default = null; type = with lib.types; nullOr (oneOf [ lines path ]); }; settings = lib.mkOption { type = jsonFormat.type; default = { }; - description = - "Vencord settings to write to $HOME/.config/vesktop/settings/settings.json"; + description = '' + Vencord settings written to + {file}`$XDG_CONFIG_HOME/vesktop/settings/settings.json`. See + + for available options. + ''; example = lib.literalExpression '' { autoUpdate = false;