1
0
mirror of https://github.com/kmein/niveum synced 2026-03-16 10:11:08 +01:00
Files
niveum/configs/save-space.nix

17 lines
537 B
Nix
Raw Permalink Normal View History

{
documentation.doc.enable = false;
documentation.enable = false;
documentation.info.enable = false;
documentation.man.enable = false;
documentation.man.generateCaches = false;
fonts.fontconfig.enable = false;
nix.gc.automatic = true;
nix.optimise.automatic = true;
2022-12-01 16:38:36 +01:00
services.journald.extraConfig = "SystemMaxUse=500M";
2022-12-03 11:34:33 +01:00
# https://webzine.snowflake.ovh/issue-001.html -- garbage collect when less then 1 GB is available, make 3 GB fee
nix.extraOptions = ''
min-free = 1073741824
max-free = 3221225472
'';
}