From 0623fec60a2a390ac561a9d9123cf7ddc21d3a02 Mon Sep 17 00:00:00 2001 From: Vincent Ambo Date: Fri, 22 May 2020 18:06:14 +0100 Subject: chore(ops/nixos/nugget): Increase user RuntimeDirectory size to 4GB clangd needs more space to run successfully on the Nix repository. --- ops/nixos/nugget/default.nix | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'ops/nixos/nugget') diff --git a/ops/nixos/nugget/default.nix b/ops/nixos/nugget/default.nix index 185123e77cc6..f9093f728d1a 100644 --- a/ops/nixos/nugget/default.nix +++ b/ops/nixos/nugget/default.nix @@ -257,6 +257,11 @@ in depot.lib.fix(self: { # nugget has an SSD services.fstrim.enable = true; + # clangd needs more than ~2GB in the runtime directory to start up + services.logind.extraConfig = '' + RuntimeDirectorySize=4G + ''; + # ... and other nonsense. system.stateVersion = "19.09"; }) -- cgit 1.4.1