From bf5d4e5f519aa69682c08032ae188f92c38ef147 Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Wed, 18 Apr 2018 14:49:31 +0200 Subject: rolling directories --- odin.nix | 9 +++++++++ utils | 2 +- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/odin.nix b/odin.nix index c3c37b58..aa141572 100644 --- a/odin.nix +++ b/odin.nix @@ -283,6 +283,15 @@ enable = true; }; + services.rollingDirectories = [ + { path = "/srv/hlidskjalf"; + maxSize = "20Gi"; + } + { path = "/srv/media/youtube"; + maxSize = "50Gi"; + } + ]; + systemd.status-mail = { recipient = "root@odin.asgard.yggdrasil"; onFailure = [ "nixos-upgrade" diff --git a/utils b/utils index d24dede0..82a091e1 160000 --- a/utils +++ b/utils @@ -1 +1 @@ -Subproject commit d24dede086a44c5a771ff2ad6484137e3b466f4d +Subproject commit 82a091e196a9a6cb132ca20aea16a3dc43971add -- cgit v1.2.3