From c7d7ba954aa2bdbf141a29cc1167afbd32ab9f14 Mon Sep 17 00:00:00 2001 From: teto <886074+teto@users.noreply.github.com> Date: Mon, 16 Feb 2026 04:35:03 +0100 Subject: [PATCH] mpv: fix include example/improve doc I just learnt about "~~/config.inc" syntax from https://mpv.io/manual/stable/#paths which is quite nice. --- modules/programs/mpv.nix | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/modules/programs/mpv.nix b/modules/programs/mpv.nix index a9b6f8d8..2438163c 100644 --- a/modules/programs/mpv.nix +++ b/modules/programs/mpv.nix @@ -139,11 +139,14 @@ in default = [ ]; example = literalExpression '' [ - "~/path/to/config.inc"; - "~/path/to/conditional.inc"; + "~/path/to/config.inc" + "~~/conditional.inc" ] ''; - description = "List of configuration files to include at the end of mpv.conf."; + description = '' + List of configuration files to include at the end of mpv.conf. + Mpv accepts several useful [prefixes](https://mpv.io/manual/stable/#paths). + ''; }; profiles = mkOption {