mastodon: install chaos.social theme

This commit is contained in:
Astro 2022-12-01 22:16:19 +01:00
parent 83b37db967
commit 3e6c35086c
1 changed files with 16 additions and 0 deletions

View File

@ -34,6 +34,22 @@
enable = true;
localDomain = "c3d2.social";
package = pkgs.mastodon.overrideAttrs (oa: {
# install chaos.social theme for eri
postPatch =
let
chaos_social_custom = pkgs.fetchzip {
url = "https://github.com/chaossocial/custom/archive/dadb72e258e56a4773d58d242d9fd1048d9560c7.zip";
sha256 = "sha256-0yfor0cpPGUZbZHP7RXs5Ls6uNzcXi8Zb3AMaNqPz5s=";
};
in ''
for F in {custom,custom_wide,mastodon-light}.scss ; do
cp ${chaos_social_custom}/themes/$F app/javascript/styles/
done
echo "chaos-social-wide: styles/custom_wide.scss" >> config/themes.yml
'';
});
smtp = {
host = "mail.c3d2.de";
port = 587;