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:
parent
9411ea9214
commit
385081693e
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue