about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ops/nixos/nugget/default.nix5
1 files changed, 5 insertions, 0 deletions
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";
 })