diff options
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" + ]; + }; + }; +} |