Skip to content

Commit

Permalink
Set limits on systemd-journal usage
Browse files Browse the repository at this point in the history
  • Loading branch information
e1mo committed Sep 29, 2023
1 parent 185df77 commit 1fc3f7c
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions common/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -88,4 +88,10 @@
# ## ## #
# ####### #
'';

services.journald.extraConfig = ''
SystemMaxUse=2G
SystemKeepFree=1G
MaxRetentionSec=14d
'';
}

0 comments on commit 1fc3f7c

Please sign in to comment.