From 99136e1764d5eb0d2e04252af7097062e6aaaa0b Mon Sep 17 00:00:00 2001 From: tv Date: Sun, 3 Jul 2016 21:30:46 +0200 Subject: tv: define journald default extraConfig --- tv/1systems/cd.nix | 5 ----- tv/1systems/mu.nix | 5 ----- tv/1systems/wu.nix | 5 ----- tv/1systems/xu.nix | 5 ----- tv/2configs/default.nix | 7 +++++++ 5 files changed, 7 insertions(+), 20 deletions(-) diff --git a/tv/1systems/cd.nix b/tv/1systems/cd.nix index 75c19008..2120134c 100644 --- a/tv/1systems/cd.nix +++ b/tv/1systems/cd.nix @@ -112,9 +112,4 @@ with config.krebs.lib; rxvt_unicode.terminfo tcpdump ]; - - services.journald.extraConfig = '' - SystemMaxUse=1G - RuntimeMaxUse=128M - ''; } diff --git a/tv/1systems/mu.nix b/tv/1systems/mu.nix index ec208a0b..e7908e29 100644 --- a/tv/1systems/mu.nix +++ b/tv/1systems/mu.nix @@ -157,11 +157,6 @@ with config.krebs.lib; ]; }; - services.journald.extraConfig = '' - SystemMaxUse=1G - RuntimeMaxUse=128M - ''; - # see tmpfiles.d(5) systemd.tmpfiles.rules = [ "d /tmp 1777 root root - -" # does this work with mounted /tmp? diff --git a/tv/1systems/wu.nix b/tv/1systems/wu.nix index d115e274..645cda61 100644 --- a/tv/1systems/wu.nix +++ b/tv/1systems/wu.nix @@ -164,11 +164,6 @@ with config.krebs.lib; services.printing.enable = true; - services.journald.extraConfig = '' - SystemMaxUse=1G - RuntimeMaxUse=128M - ''; - # see tmpfiles.d(5) systemd.tmpfiles.rules = [ "d /tmp 1777 root root - -" # does this work with mounted /tmp? diff --git a/tv/1systems/xu.nix b/tv/1systems/xu.nix index 7277f5cb..1cd1df1a 100644 --- a/tv/1systems/xu.nix +++ b/tv/1systems/xu.nix @@ -176,11 +176,6 @@ with config.krebs.lib; services.printing.enable = true; - services.journald.extraConfig = '' - SystemMaxUse=1G - RuntimeMaxUse=128M - ''; - # see tmpfiles.d(5) systemd.tmpfiles.rules = [ "d /tmp 1777 root root - -" # does this work with mounted /tmp? diff --git a/tv/2configs/default.nix b/tv/2configs/default.nix index dcc3edd8..0f625813 100644 --- a/tv/2configs/default.nix +++ b/tv/2configs/default.nix @@ -168,6 +168,13 @@ with config.krebs.lib; tv.iptables.accept-echo-request = "internet"; } + { + services.journald.extraConfig = '' + SystemMaxUse=1G + RuntimeMaxUse=128M + ''; + } + { services.openssh = { enable = true; -- cgit v1.2.3