From 5125947e032cbec89e5f37e0b22445c7ff1c34bf Mon Sep 17 00:00:00 2001 From: Philipp Hochkamp Date: Tue, 12 Apr 2022 02:03:51 +0200 Subject: [PATCH] fix: journal getting to big --- nixos-common.nix | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/nixos-common.nix b/nixos-common.nix index 2dcb2871..c7cfb9b0 100644 --- a/nixos-common.nix +++ b/nixos-common.nix @@ -12,6 +12,10 @@ in users.users.root.openssh.authorizedKeys.keys = pubkeys.ragon.user; + services.journald.extraConfig = '' + SystemMaxUse=512M + ''; + # Select internationalisation properties. i18n = { defaultLocale = "en_DK.UTF-8"; @@ -31,11 +35,11 @@ in trusted-users = mkDefault [ "root" "@wheel" ]; allowed-users = mkDefault [ "root" "@wheel" ]; substituters = [ - "https://nix-community.cachix.org" - ]; - trusted-public-keys = [ - "nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=" - ]; + "https://nix-community.cachix.org" + ]; + trusted-public-keys = [ + "nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=" + ]; auto-optimise-store = true; };