summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2018-04-18 14:49:31 +0200
committerGregor Kleen <gkleen@yggdrasil.li>2018-04-18 14:49:31 +0200
commitbf5d4e5f519aa69682c08032ae188f92c38ef147 (patch)
tree82c6d9670385a9927ef2f5e2522e78a3e869794e
parent2f0750e2e042a240f4cdf39f1e6688155f15ba00 (diff)
downloadnixos-bf5d4e5f519aa69682c08032ae188f92c38ef147.tar
nixos-bf5d4e5f519aa69682c08032ae188f92c38ef147.tar.gz
nixos-bf5d4e5f519aa69682c08032ae188f92c38ef147.tar.bz2
nixos-bf5d4e5f519aa69682c08032ae188f92c38ef147.tar.xz
nixos-bf5d4e5f519aa69682c08032ae188f92c38ef147.zip
rolling directories
-rw-r--r--odin.nix9
m---------utils0
2 files changed, 9 insertions, 0 deletions
diff --git a/odin.nix b/odin.nix
index c3c37b58..aa141572 100644
--- a/odin.nix
+++ b/odin.nix
@@ -283,6 +283,15 @@
283 enable = true; 283 enable = true;
284 }; 284 };
285 285
286 services.rollingDirectories = [
287 { path = "/srv/hlidskjalf";
288 maxSize = "20Gi";
289 }
290 { path = "/srv/media/youtube";
291 maxSize = "50Gi";
292 }
293 ];
294
286 systemd.status-mail = { 295 systemd.status-mail = {
287 recipient = "root@odin.asgard.yggdrasil"; 296 recipient = "root@odin.asgard.yggdrasil";
288 onFailure = [ "nixos-upgrade" 297 onFailure = [ "nixos-upgrade"
diff --git a/utils b/utils
Subproject d24dede086a44c5a771ff2ad6484137e3b466f4 Subproject 82a091e196a9a6cb132ca20aea16a3dc43971ad