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:
Vincent Ambo 2020-05-22 18:06:14 +01:00
parent 5229c9b232
commit 0623fec60a

View file

@ -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";
})