mirror of
https://github.com/gensokyo-zone/infrastructure.git
synced 2026-02-09 20:39:18 -08:00
26 lines
546 B
Nix
26 lines
546 B
Nix
_: {
|
|
services = {
|
|
moonraker = {
|
|
enable = true;
|
|
address = "0.0.0.0";
|
|
port = 7125; # it's the default but i'm specifying it anyway
|
|
settings = {
|
|
octoprint_compat = { };
|
|
history = { };
|
|
authorization = {
|
|
force_logins = true;
|
|
cors_domains = [
|
|
"*.local"
|
|
"*.lan"
|
|
"*.gensokyo.zone"
|
|
];
|
|
trusted_clients = [
|
|
"10.0.0.0/8"
|
|
"127.0.0.0/8"
|
|
"::1/128"
|
|
];
|
|
};
|
|
};
|
|
};
|
|
};
|
|
}
|