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/thor/modules/default.nix | |
parent | 63883c4dea9ca50a4fd8756323ab04bf66e3dd3d (diff) |
hosts: overhauled host configurations
Diffstat (limited to 'hosts/thor/modules/default.nix')
-rw-r--r-- | hosts/thor/modules/default.nix | 26 |
1 files changed, 26 insertions, 0 deletions
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" + ]; + }; + }; +} |