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/oasis | |
parent | 274a1e84f12c39e2f0a67b1fc85511381c8b798d (diff) |
modularize motd script
Diffstat (limited to 'hosts/oasis')
-rw-r--r-- | hosts/oasis/default.nix | 15 |
1 files changed, 6 insertions, 9 deletions
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" ]; + }; } |