Catppuccin element?
This commit is contained in:
@@ -8,10 +8,10 @@
|
|||||||
services.tailscale.permitCertUid = "caddy";
|
services.tailscale.permitCertUid = "caddy";
|
||||||
|
|
||||||
services.caddy = let
|
services.caddy = let
|
||||||
catppuccin = builtins.fromJSON (builtins.readFile (fetchurl {
|
catppuccin = builtins.fromJSON (builtins.readFile (pkgs.fetchurl {
|
||||||
url = "https://raw.githubusercontent.com/catppuccin/element/main/config.json";
|
url = "https://raw.githubusercontent.com/catppuccin/element/main/config.json";
|
||||||
hash = "sha256-BBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBB=";
|
hash = "sha256-9y113raGhCKlKAPmi5MXEW64qpPJ9u2oN/kwR5etZo0=";
|
||||||
}))
|
}));
|
||||||
|
|
||||||
element = pkgs.element-web.override {
|
element = pkgs.element-web.override {
|
||||||
conf = {
|
conf = {
|
||||||
@@ -20,6 +20,7 @@
|
|||||||
"server_name" = "broccoli.town";
|
"server_name" = "broccoli.town";
|
||||||
};
|
};
|
||||||
} // catppuccin;
|
} // catppuccin;
|
||||||
|
};
|
||||||
in {
|
in {
|
||||||
enable = true;
|
enable = true;
|
||||||
virtualHosts = {
|
virtualHosts = {
|
||||||
@@ -62,16 +63,7 @@
|
|||||||
X-Content-Type-Options "nosniff"
|
X-Content-Type-Options "nosniff"
|
||||||
X-Robots-Tag "noindex, noarchive, nofollow"
|
X-Robots-Tag "noindex, noarchive, nofollow"
|
||||||
}
|
}
|
||||||
root * ${
|
root * ${element}
|
||||||
pkgs.element-web.override {
|
|
||||||
conf = {
|
|
||||||
default_server_config."m.homeserver" = {
|
|
||||||
"base_url" = "https://broccoli.town";
|
|
||||||
"server_name" = "broccoli.town";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
}
|
|
||||||
}
|
|
||||||
file_server
|
file_server
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user