service/octoprint: fix cfg variable

This commit is contained in:
Felix Buehler 2022-12-05 22:53:25 +01:00
parent 7e9276152a
commit fa402db0e8

View file

@ -1,7 +1,7 @@
# 3d-printing software
{ config, lib, pkgs, ... }:
let
cfg = config.my.services.minecraft-server;
cfg = config.my.services.octoprint;
in
{
options.my.services.octoprint = with lib; {
@ -26,7 +26,7 @@ in
stlviewer
telegram
titlestatus
];
] ++ cfg.plugins;
};
networking.firewall.allowedTCPPorts = [ 5000 ];
};