From 7c68b926aeb6ae38b21e5b7a23bb46ddf402bea9 Mon Sep 17 00:00:00 2001 From: tv Date: Sun, 3 Jul 2016 21:26:01 +0200 Subject: Revert "tv nginx: define events" This reverts commit 9962ba1036945652c1b1cfd661d92377b4dc691e. --- tv/2configs/nginx/default.nix | 4 ---- 1 file changed, 4 deletions(-) (limited to 'tv/2configs') diff --git a/tv/2configs/nginx/default.nix b/tv/2configs/nginx/default.nix index 70e25e2e5..d0d07d5ca 100644 --- a/tv/2configs/nginx/default.nix +++ b/tv/2configs/nginx/default.nix @@ -4,10 +4,6 @@ with config.krebs.lib; { krebs.nginx = { - extraConfig = '' - events { - } - ''; servers.default.locations = [ (nameValuePair "= /etc/os-release" '' default_type text/plain; -- cgit v1.2.3 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/2configs/default.nix | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'tv/2configs') diff --git a/tv/2configs/default.nix b/tv/2configs/default.nix index dcc3edd82..0f6258139 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 From fa14575ce2fbcf0fd7f1df4934b54c19d34401b5 Mon Sep 17 00:00:00 2001 From: tv Date: Sun, 3 Jul 2016 21:35:34 +0200 Subject: tv: use timesyncd --- tv/2configs/default.nix | 1 + 1 file changed, 1 insertion(+) (limited to 'tv/2configs') diff --git a/tv/2configs/default.nix b/tv/2configs/default.nix index 0f6258139..a9ba1eadd 100644 --- a/tv/2configs/default.nix +++ b/tv/2configs/default.nix @@ -153,6 +153,7 @@ with config.krebs.lib; services.cron.enable = false; services.nscd.enable = false; services.ntp.enable = false; + services.timesyncd.enable = true; } { -- cgit v1.2.3