From 397aee1840f8a55e53595ca0f55e1df4ad245bf5 Mon Sep 17 00:00:00 2001 From: tdback Date: Thu, 26 Dec 2024 20:21:47 -0500 Subject: modularize motd script --- hosts/eden/default.nix | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) (limited to 'hosts/eden') diff --git a/hosts/eden/default.nix b/hosts/eden/default.nix index c7604da..bb39dbe 100644 --- a/hosts/eden/default.nix +++ b/hosts/eden/default.nix @@ -38,7 +38,16 @@ zfs.extraPools = [ "tank" ]; }; - motd = { + services.zquota = { + enable = true; + quotas = { + "tank/backups" = 512; + "tank/media" = 1536; + }; + }; + + programs.motd = { + enable = true; networkInterfaces = lib.lists.singleton "eno1"; servicesToCheck = [ "caddy" @@ -49,12 +58,4 @@ "zfs-zed" ]; }; - - services.zquota = { - enable = true; - quotas = { - "tank/backups" = 512; - "tank/media" = 1536; - }; - }; } -- cgit v1.2.3