diff options
author | Vincent Ambo <tazjin@google.com> | 2020-05-22T17·06+0100 |
---|---|---|
committer | Vincent Ambo <tazjin@google.com> | 2020-05-22T17·06+0100 |
commit | 0623fec60a2a390ac561a9d9123cf7ddc21d3a02 (patch) | |
tree | f97541d9564b50d132103bc18879304e9e918caa /ops | |
parent | 5229c9b232de5bfa959ad6ebbb4c8192ac513352 (diff) |
chore(ops/nixos/nugget): Increase user RuntimeDirectory size to 4GB r/809
clangd needs more space to run successfully on the Nix repository.
Diffstat (limited to 'ops')
-rw-r--r-- | ops/nixos/nugget/default.nix | 5 |
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"; }) |