19 lines
357 B
Nix
19 lines
357 B
Nix
|
{lib, ...}: let
|
||
|
inherit (lib) mkModule;
|
||
|
in {
|
||
|
options.modules.system.services = {
|
||
|
# self-hosted/decentralized social networks
|
||
|
social = {
|
||
|
mastodon = mkModule {
|
||
|
name = "Mastodon";
|
||
|
type = "social";
|
||
|
};
|
||
|
matrix = mkModule {
|
||
|
name = "Matrix";
|
||
|
type = "social";
|
||
|
port = 8008;
|
||
|
};
|
||
|
};
|
||
|
};
|
||
|
}
|