s-e: add emotes via module
This commit is contained in:
parent
5ceb29db61
commit
5b5a142c71
2 changed files with 20 additions and 15 deletions
|
@ -9,6 +9,7 @@
|
|||
in {
|
||||
imports = [
|
||||
inputs.tachikoma.nixosModules.default
|
||||
inputs.fedi-emotes.nixosModules.akkoma
|
||||
];
|
||||
|
||||
sops.secrets = secrets [
|
||||
|
@ -29,6 +30,15 @@ in {
|
|||
|
||||
package = pkgs.master.akkoma;
|
||||
|
||||
emotes = {
|
||||
enable = true;
|
||||
emotePackages = with inputs.fedi-emotes.packages.${pkgs.system}; [
|
||||
lightrunner-custom.hearts
|
||||
lightrunner-custom.anime
|
||||
pkgs.akkoma-emoji.blobs_gg
|
||||
];
|
||||
};
|
||||
|
||||
config = with (pkgs.formats.elixirConf { }).lib; {
|
||||
":pleroma" = {
|
||||
":instance" = {
|
||||
|
@ -184,11 +194,6 @@ in {
|
|||
# cp -r $src $out
|
||||
# '';
|
||||
# };
|
||||
"emoji/blobs.gg" = pkgs.akkoma-emoji.blobs_gg;
|
||||
"emoji/hearts" = fediEmotes.lightrunner-custom.hearts;
|
||||
"emoji/anime" = fediEmotes.lightrunner-custom.anime;
|
||||
# "emoji/blobfox" = fediEmotes.volpeon.blobfox;
|
||||
# "emoji/neocat" = fediEmotes.volpeon.neocat;
|
||||
"static/terms-of-service.html" = pkgs.writeText "terms-of-service.html" ''
|
||||
This is a private instance. Requests are not accepted.
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue