dev.fron.io rc / 51e2333
pkgs::twitterpub: init Tony Olagbaiye 1 year, 1 month ago
4 changed file(s) with 22 addition(s) and 5 deletion(s). Raw diff Collapse all Expand all
2525
2626 config =
2727 { config, stdenv, ... }:
28
28
2929 {
30 imports = [
30 imports = [
3131 ../profiles/services/mastodon
3232 ];
3333
3636
3737 environment.etc.limits = securityLimits;
3838 environment.systemPackages = with pkgs; [
39 postgresql redis postfix config.services.mastodon.package
39 postgresql redis postfix config.services.mastodon.package twitterpub
4040 ];
4141
4242 services.elasticsearch.enable = true;
9292 ];
9393 };
9494 };
95
95
9696 networking.firewall.enable = false;
9797 networking.nameservers = [ "62.210.16.6" "62.210.16.7" ];
9898
403403 inherit (pkgs) flarectl fsnoop git-pr-mirror greetd ipfscat;
404404 inherit (pkgs) matrix-appservice-irc mx-puppet-discord;
405405 inherit (pkgs.pleroma) pleroma_be pleroma_fe masto_fe;
406 inherit (pkgs) nyxt pure sddm-chili shflags velox vervis yacy;
406 inherit (pkgs) nyxt pure sddm-chili shflags twitterpub velox vervis yacy;
407407 });
408408
409409 defaultPackage = forAllSystems ({ pkgs, system, ... }:
5959
6060 shflags = prev.callPackage ./tools/misc/shflags { };
6161
62 twitterpub = prev.callPackage ./servers/twitterpub { };
63
6264 velox = prev.callPackage ./applications/window-managers/velox { };
6365
6466 vervis = final.callPackage ./applications/version-management/vervis { };
0 { buildGoModule, fetchFromGitHub, lib }:
1
2 buildGoModule rec {
3 pname = "twitterpub";
4 version = lib.substring 0 7 src.rev;
5
6 vendorSha256 = "XuQhbS9iLNrW6aSanPdJFJO07JbJ7/QPUlGiYo0WZoE=";
7
8 src = fetchFromGitHub {
9 owner = "bqv";
10 repo = "twitterpub";
11 rev = "5ef96de25a0d77f815564e35bccd330403dc32e7";
12 sha256 = "ypMfbs+61oxAbpN0vCzMCxJ3ZgNHhq+Km9m656HuYdk=";
13 };
14 }