mastodon: install chaos.social theme
This commit is contained in:
parent
83b37db967
commit
3e6c35086c
|
@ -34,6 +34,22 @@
|
||||||
enable = true;
|
enable = true;
|
||||||
localDomain = "c3d2.social";
|
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 = {
|
smtp = {
|
||||||
host = "mail.c3d2.de";
|
host = "mail.c3d2.de";
|
||||||
port = 587;
|
port = 587;
|
||||||
|
|
Loading…
Reference in New Issue