diff options
author | tdback <tyler@tdback.net> | 2024-12-26 20:21:47 -0500 |
---|---|---|
committer | tdback <tyler@tdback.net> | 2024-12-26 20:21:47 -0500 |
commit | 397aee1840f8a55e53595ca0f55e1df4ad245bf5 (patch) | |
tree | a859de6aca2983b6dbedd84a7bd745ca08224504 /hosts/eden | |
parent | 274a1e84f12c39e2f0a67b1fc85511381c8b798d (diff) |
modularize motd script
Diffstat (limited to 'hosts/eden')
-rw-r--r-- | hosts/eden/default.nix | 19 |
1 files changed, 10 insertions, 9 deletions
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; - }; - }; } |