From cfc5b3fe97cf1fa86d2992ca570addc8195c5179 Mon Sep 17 00:00:00 2001 From: Profpatsch Date: Sat, 13 Feb 2021 00:15:31 +0100 Subject: feat(profpatsch/machines): set journal size limit on every machine MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Before we just set 50M on workstations, but let’s increase to 500M and set it as default on every machine, so we don’t run out of space because somebody DDoSes our server logs. --- machines/profpatsch/base-workstation.nix | 3 --- machines/profpatsch/base.nix | 3 +++ 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'machines/profpatsch') diff --git a/machines/profpatsch/base-workstation.nix b/machines/profpatsch/base-workstation.nix index 09cbf054..c918e380 100644 --- a/machines/profpatsch/base-workstation.nix +++ b/machines/profpatsch/base-workstation.nix @@ -150,9 +150,6 @@ in { time.timeZone = "Europe/Paris"; - # bounded journal size - services.journald.extraConfig = "SystemMaxUse=50M"; - vuizvui.programs.fish.fasd.enable = true; ######## diff --git a/machines/profpatsch/base.nix b/machines/profpatsch/base.nix index a5147706..2b3eb419 100644 --- a/machines/profpatsch/base.nix +++ b/machines/profpatsch/base.nix @@ -15,6 +15,9 @@ in # /tmp should never be depended on boot.cleanTmpDir = true; + # bounded journal size + services.journald.extraConfig = "SystemMaxUse=500M"; + programs.bash = { interactiveShellInit = '' alias c='vim /root/vuizvui/machines/profpatsch' -- cgit 1.4.1