]> Repositories - machines.git/blob - levanter/komuhn-website.nix
Configure gitweb and git-http-backend
[machines.git] / levanter / komuhn-website.nix
1 { pkgs, ... }: {
2         services.wordpress = {
3                 webserver = "caddy";
4
5                 sites."komuhn.org" = {
6                         themes = {
7                                 "komuhn" = pkgs.stdenv.mkDerivation {
8                                         name = "komuhn-theme";
9
10                                         src = pkgs.fetchFromGitHub {
11                                                 owner = "teamkomuhn";
12                                                 repo = "komuhn.org-old";
13                                                 rev = "main";
14                                                 hash = "sha256-sn9Fvt1DCGVzKVZClmPRL0SadD9krX+h8nwwWwZz0P0=";
15                                         };
16
17                                         installPhase = "mkdir -p $out; cp -R * $out/";
18                                 };
19                         };
20
21                         extraConfig = "$table_prefix = \"fwt_\";";
22                 };
23         };
24 }