diff options
author | tdback <tyler@tdback.net> | 2025-01-26 11:31:00 -0500 |
---|---|---|
committer | tdback <tyler@tdback.net> | 2025-01-26 11:31:00 -0500 |
commit | a7c3d07078d0ca67afadd6fb24ab4b60b38c1109 (patch) | |
tree | b214be5bc6bd1ea67c0499ee54ce3ec06565e929 /hosts/odin/modules/default.nix | |
parent | 63883c4dea9ca50a4fd8756323ab04bf66e3dd3d (diff) |
hosts: overhauled host configurations
Diffstat (limited to 'hosts/odin/modules/default.nix')
-rw-r--r-- | hosts/odin/modules/default.nix | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/hosts/odin/modules/default.nix b/hosts/odin/modules/default.nix new file mode 100644 index 0000000..0a7aba1 --- /dev/null +++ b/hosts/odin/modules/default.nix @@ -0,0 +1,50 @@ +{ + modules = { + containers.watchtower.enable = true; + containers.pinchflat = { + enable = true; + mediaDir = "/tank/media/yt"; + }; + containers.freshrss = { + enable = true; + url = "fresh.brownbread.net"; + }; + containers.lubelogger = { + enable = true; + url = "garage.brownbread.net"; + }; + containers.vaultwarden = { + enable = true; + url = "steel-mountain.brownbread.net"; + }; + containers.jellyfin = { + enable = true; + url = "buttered.brownbread.net"; + mediaDir = "/tank/media"; + }; + services.immich = { + enable = true; + url = "photographs.brownbread.net"; + mediaDir = "/tank/immich"; + }; + scripts.motd = { + enable = true; + networkInterfaces = [ "eno1" ]; + servicesToCheck = [ + "caddy" + "immich-machine-learning" + "immich-server" + "postgresql" + "redis-immich" + "zfs-zed" + ]; + }; + scripts.zquota = { + enable = true; + quotas = { + "tank/backups" = 512; + "tank/media" = 1536; + }; + }; + }; +} |