work on moonraker
This commit is contained in:
parent
0055fb07c4
commit
e6d9ee7618
@ -11,6 +11,7 @@
|
||||
klipper = {
|
||||
enable = true;
|
||||
configFile = ./printer.cfg;
|
||||
mutableConfig = true;
|
||||
firmwares."sovol06" = {
|
||||
serial = "/dev/serial/by-id/usb-1a86_USB_Serial-if00-port0";
|
||||
enableKlipperFlash = true;
|
||||
@ -26,14 +27,29 @@
|
||||
#useACMEHost = "home.opel-online.de";
|
||||
serverName = "nbf5.home.opel-online.de";
|
||||
#onlySSL = true;
|
||||
listenAddresses = [ "0.0.0.0" "::" ];
|
||||
#listenAddresses = [ "0.0.0.0" "::" ];
|
||||
#forceSSL = true;
|
||||
};
|
||||
};
|
||||
|
||||
moonraker = {
|
||||
enable = true;
|
||||
user = "root";
|
||||
allowSystemControl = true;
|
||||
address = "0.0.0.0";
|
||||
settings = {
|
||||
authorization = {
|
||||
force_logins = true;
|
||||
cors_domains = [
|
||||
"*://nbf5.home.opel-online.de"
|
||||
"*.local"
|
||||
];
|
||||
trusted_clients = [
|
||||
"127.0.0.0/8"
|
||||
"192.168.2.0/24"
|
||||
];
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
# nginx = {
|
||||
|
Loading…
Reference in New Issue
Block a user