about summary refs log tree commit diff
path: root/nixos/modules/services/video
diff options
context:
space:
mode:
authormidchildan <git@midchildan.org>2022-02-14 00:49:15 +0900
committermidchildan <git@midchildan.org>2022-03-12 15:10:38 +0900
commit561c0c28519c7b378078d5ee510c6727fb310d28 (patch)
treeebdfe6793f615000e52cfd12024949ada10aceaf /nixos/modules/services/video
parent5e7be6b480929b8e63a76eccbae441254c5e878b (diff)
nixos/rl-2205: add entries for EPGStation v2
Diffstat (limited to 'nixos/modules/services/video')
-rw-r--r--nixos/modules/services/video/epgstation/default.nix8
1 files changed, 4 insertions, 4 deletions
diff --git a/nixos/modules/services/video/epgstation/default.nix b/nixos/modules/services/video/epgstation/default.nix
index 71428a00e4df2..191f6eb52e57e 100644
--- a/nixos/modules/services/video/epgstation/default.nix
+++ b/nixos/modules/services/video/epgstation/default.nix
@@ -171,20 +171,20 @@ in
         options.socketioPort = lib.mkOption {
           type = lib.types.port;
           default = cfg.settings.port + 1;
-          defaultText = lib.literalExpression "config.${opt.settings.port} + 1";
+          defaultText = lib.literalExpression "config.${opt.settings}.port + 1";
           description = ''
             Socket.io port for EPGStation to listen on. It is valid to share
-            ports with <option>${opt.settings.port}</option>.
+            ports with <option>${opt.settings}.port</option>.
           '';
         };
 
         options.clientSocketioPort = lib.mkOption {
           type = lib.types.port;
           default = cfg.settings.socketioPort;
-          defaultText = lib.literalExpression "config.${opt.settings.socketioPort}";
+          defaultText = lib.literalExpression "config.${opt.settings}.socketioPort";
           description = ''
             Socket.io port that the web client is going to connect to. This may
-            be different from <option>${opt.settings.socketioPort}</option> if
+            be different from <option>${opt.settings}.socketioPort</option> if
             EPGStation is hidden behind a reverse proxy.
           '';
         };