about summary refs log tree commit diff
path: root/nixos/modules/services/video
diff options
context:
space:
mode:
authorpennae <github@quasiparticle.net>2021-12-05 22:56:22 +0100
committerpennae <github@quasiparticle.net>2021-12-09 01:42:24 +0100
commite67a646a925bc3cda86101a3f3afb81db3030ef5 (patch)
treefc91f2996187c22215a45c494a4fd21aba960db6 /nixos/modules/services/video
parent1f960e7571d46bd13dd4b5865f115467e100ef7d (diff)
treewide: add defaultText to remaining options
these are mostly options that use alias bindings, bindings to constants,
or bindings to calculated values.
Diffstat (limited to 'nixos/modules/services/video')
-rw-r--r--nixos/modules/services/video/epgstation/default.nix3
1 files changed, 3 insertions, 0 deletions
diff --git a/nixos/modules/services/video/epgstation/default.nix b/nixos/modules/services/video/epgstation/default.nix
index afaa88c15d108..db99f731b0a9d 100644
--- a/nixos/modules/services/video/epgstation/default.nix
+++ b/nixos/modules/services/video/epgstation/default.nix
@@ -186,6 +186,9 @@ in
         in {
           type = types.str;
           default = "http+unix://${replaceStrings ["/"] ["%2F"] sockPath}";
+          defaultText = literalExpression ''
+            "http+unix://''${replaceStrings ["/"] ["%2F"] config.${options.services.mirakurun.unixSocket}}"
+          '';
           example = "http://localhost:40772";
           description = "URL to connect to Mirakurun.";
         });