From a7c3d07078d0ca67afadd6fb24ab4b60b38c1109 Mon Sep 17 00:00:00 2001 From: tdback Date: Sun, 26 Jan 2025 11:31:00 -0500 Subject: hosts: overhauled host configurations --- hosts/thor/modules/default.nix | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 hosts/thor/modules/default.nix (limited to 'hosts/thor/modules') diff --git a/hosts/thor/modules/default.nix b/hosts/thor/modules/default.nix new file mode 100644 index 0000000..77fca5d --- /dev/null +++ b/hosts/thor/modules/default.nix @@ -0,0 +1,26 @@ +{ + pkgs, + ... +}: +{ + modules = { + services.fediverse = { + enable = true; + package = pkgs.unstable.gotosocial; + url = "social.tdback.net"; + }; + services.website = { + enable = true; + url = "tdback.net"; + federating = true; + }; + scripts.motd = { + enable = true; + networkInterfaces = [ "eno1" ]; + servicesToCheck = [ + "caddy" + "gotosocial" + ]; + }; + }; +} -- cgit v1.2.3