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