tv: define journald default extraConfig

This commit is contained in:
tv 2016-07-03 21:30:46 +02:00
parent 7c68b926ae
commit 99136e1764
5 changed files with 7 additions and 20 deletions

View file

@ -112,9 +112,4 @@ with config.krebs.lib;
rxvt_unicode.terminfo
tcpdump
];
services.journald.extraConfig = ''
SystemMaxUse=1G
RuntimeMaxUse=128M
'';
}

View file

@ -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?

View file

@ -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?

View file

@ -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?

View file

@ -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;