mirror of
https://github.com/Stunkymonkey/nixos.git
synced 2025-05-23 17:35:38 +02:00
service/octoprint: fix cfg variable
This commit is contained in:
parent
7e9276152a
commit
fa402db0e8
1 changed files with 2 additions and 2 deletions
|
@ -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 ];
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue