mirror of
https://github.com/Stunkymonkey/nixos.git
synced 2025-05-24 09:54:40 +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
|
# 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 ];
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue