chore(ops/nixos/nugget): Increase user RuntimeDirectory size to 4GB
clangd needs more space to run successfully on the Nix repository.
This commit is contained in:
parent
5229c9b232
commit
0623fec60a
1 changed files with 5 additions and 0 deletions
|
@ -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";
|
||||
})
|
||||
|
|
Loading…
Reference in a new issue