nixos/moonraker: Don't allow Moonraker to validate its systemd service

Our service files are managed by NixOS and different from
the upstream setup. If this is not disabled, Moonraker will
want sudo access to modify the service files directly.
This commit is contained in:
Zhaofeng Li 2022-11-19 13:37:01 -07:00
parent 9411ea9214
commit 385081693e

View file

@ -135,6 +135,9 @@ in {
port = cfg.port;
klippy_uds_address = cfg.klipperSocket;
};
machine = {
validate_service = false;
};
} // (lib.optionalAttrs (cfg.configDir != null) {
file_manager = {
config_path = cfg.configDir;