From 14c210d35853c914d5e9cf3488b32f2aaae1d246 Mon Sep 17 00:00:00 2001 From: lassulus Date: Sun, 28 Nov 2021 00:12:00 +0100 Subject: limit journald size --- krebs/2configs/default.nix | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/krebs/2configs/default.nix b/krebs/2configs/default.nix index 4c25bc963..369b750b7 100644 --- a/krebs/2configs/default.nix +++ b/krebs/2configs/default.nix @@ -45,6 +45,13 @@ with import ; services.cron.enable = false; services.ntp.enable = false; + # limit journald size + services.journald.extraConfig = '' + SystemMaxUse=1G + RuntimeMaxUse=128M + Storage=persistent + ''; + users.mutableUsers = false; users.extraUsers.root.openssh.authorizedKeys.keys = [ config.krebs.users.jeschli-brauerei.pubkey -- cgit v1.2.3