diff --git a/nixos/klipper.nix b/nixos/klipper.nix index 01b05da4..7f05bb13 100644 --- a/nixos/klipper.nix +++ b/nixos/klipper.nix @@ -15,4 +15,12 @@ in { settings = {}; }; }; + systemd = mkIf cfg.enable { + services.klipper = { + restartIfChanged = false; + serviceConfig.LogFilterPatterns = [ + ''~INFO:root:Stats'' + ]; + }; + }; } diff --git a/nixos/moonraker.nix b/nixos/moonraker.nix index f2e16168..e377ceeb 100644 --- a/nixos/moonraker.nix +++ b/nixos/moonraker.nix @@ -48,6 +48,9 @@ }; }; }; + systemd.services.moonraker = mkIf cfg.enable { + # TODO: restartIfChanged = false; + }; networking.firewall = mkIf cfg.enable { interfaces.lan.allowedTCPPorts = [ cfg.port