From 0b426cd8e235f1e3ab1261ed5c064f766fca24db Mon Sep 17 00:00:00 2001 From: Vanilla Date: Mon, 6 Feb 2023 11:25:48 +0800 Subject: [PATCH] nixos/pykms: rename systemd deprecated `MemoryLimit` to `MemoryMax`. --- nixos/modules/services/misc/pykms.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nixos/modules/services/misc/pykms.nix b/nixos/modules/services/misc/pykms.nix index 314388e0152e..be3accc0d7e5 100644 --- a/nixos/modules/services/misc/pykms.nix +++ b/nixos/modules/services/misc/pykms.nix @@ -85,7 +85,7 @@ in WorkingDirectory = libDir; SyslogIdentifier = "pykms"; Restart = "on-failure"; - MemoryLimit = cfg.memoryLimit; + MemoryMax = cfg.memoryLimit; }; }; };