nix-dotfiles/hosts/tsuki/services/matrix/maunium-stickerpicker.nix

59 lines
1.4 KiB
Nix
Raw Normal View History

2023-01-03 22:45:41 +01:00
# This is imported directly by the nginx config
2023-01-16 16:10:12 +01:00
{ lib, maunium-stickerpicker, secrets, ... }: let
stickerpickerWithStickerbot = sha256: packs:
maunium-stickerpicker.outputs.createStickerPicker {
homeserver = "https://matrix.nani.wtf";
userId = "@stickerbot1:nani.wtf";
accessTokenFile = secrets.settings.keys.matrix.stickerbot-access-token;
inherit sha256 packs;
};
2023-01-03 22:45:41 +01:00
in {
2023-01-16 16:10:12 +01:00
stickers-h7x4 = stickerpickerWithStickerbot
"+1ccLd+7zN6ZEFSuzb+K+0sn2wOm3EGhL1GNLTh5+5M="
[
2023-01-03 22:45:41 +01:00
{
2023-01-16 16:10:12 +01:00
type = "chatsticker";
name = "dog-cat-dogboy-side-1";
2023-01-03 22:45:41 +01:00
title = "Dogboy";
}
{
2023-01-16 16:10:12 +01:00
type = "chatsticker";
name = "frown-cat-vol-2-1";
2023-01-03 22:45:41 +01:00
title = "Frown Cat 2";
2023-01-16 16:10:12 +01:00
}
{
type = "url-list";
src = ./stickers/ninicouple.txt;
title = "Nini Couple";
}
{
type = "url-list";
src = ./stickers/sweet-couple.txt;
title = "Sweet Couple";
2023-01-03 22:45:41 +01:00
}
];
2023-01-16 16:10:12 +01:00
stickers-pingu = stickerpickerWithStickerbot
"0m2OoL0jmwGnYUbRBSaHyM4hMLNX2uDlYykdUbqhU4o="
[
{
type = "chatsticker";
name = "dog-cat-catgirl-side-1";
}
{
type = "chatsticker";
name = "frown-cat-1";
}
{
type = "url-list";
src = ./stickers/ninicouple.txt;
title = "Nini Couple";
}
{
type = "url-list";
src = ./stickers/sweet-couple.txt;
title = "Sweet Couple";
2023-01-03 22:45:41 +01:00
}
];
}