From cc81ee209f7dd767bb2474952f5dd924890c961e Mon Sep 17 00:00:00 2001 From: Jean-Paul Calderone <exarkun@twistedmatrix.com> Date: Thu, 1 Jul 2021 11:15:43 -0400 Subject: [PATCH] Give localdev and staging enough tmpfs space to run morph --- nixos/modules/deployment.nix | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/nixos/modules/deployment.nix b/nixos/modules/deployment.nix index 22f56c7b..f05aa111 100755 --- a/nixos/modules/deployment.nix +++ b/nixos/modules/deployment.nix @@ -44,6 +44,13 @@ in { ]; }; + # Raise the hard-limit on the size of $XDG_RUNTIME_DIR (ie + # /run/user/<uid>). The default of 10% is too small on some systems for + # the temporary state morph creates to do the self-update. + services.logind.extraConfig = '' + RuntimeDirectorySize=50% + ''; + # Configure the deployment user. users.users.deployment = { # Without some shell no login is possible at all, even to execute our -- GitLab