summaryrefslogtreecommitdiff
path: root/odin.nix
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 /odin.nix
parent2f0750e2e042a240f4cdf39f1e6688155f15ba00 (diff)
downloadnixos-bf5d4e5f519aa69682c08032ae188f92c38ef147.tar
nixos-bf5d4e5f519aa69682c08032ae188f92c38ef147.tar.gz
nixos-bf5d4e5f519aa69682c08032ae188f92c38ef147.tar.bz2
nixos-bf5d4e5f519aa69682c08032ae188f92c38ef147.tar.xz
nixos-bf5d4e5f519aa69682c08032ae188f92c38ef147.zip
rolling directories
Diffstat (limited to 'odin.nix')
-rw-r--r--odin.nix9
1 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"