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/oasis/default.nix | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) (limited to 'hosts/oasis') diff --git a/hosts/oasis/default.nix b/hosts/oasis/default.nix index 5b849fb..5b8ebb3 100644 --- a/hosts/oasis/default.nix +++ b/hosts/oasis/default.nix @@ -38,19 +38,16 @@ zfs.extraPools = [ "tank" ]; }; - motd = { - networkInterfaces = lib.lists.singleton "enp59s0"; - servicesToCheck = [ - "caddy" - "sftpgo" - "zfs-zed" - ]; - }; - services.zquota = { enable = true; quotas = { "tank/sftpgo" = 512; }; }; services.sftpgo.dataDir = "/tank/sftpgo"; + + programs.motd = { + enable = true; + networkInterfaces = lib.lists.singleton "enp59s0"; + servicesToCheck = [ "caddy" "sftpgo" "zfs-zed" ]; + }; } -- cgit v1.2.3