nixpkgs/systems/hikari/web-development.nix
Daniel Siepmann 1aa49f0eff
Restructure web development for hikari
Nix is not needed, it is generated.
Try to find a better structure for web development setup.
The initial steps with httpd and php fpm work now.
2023-02-02 15:24:17 +01:00

32 lines
497 B
Nix

{ pkgs, lib, ... }:
{
imports = [
./web-development/daniel-siepmann.localhost.nix
];
services = {
httpd = {
enable = true;
user = "daniels";
adminAddr = "apache@hikari.localhost";
extraModules = [
"info"
"rewrite"
"proxy"
"proxy_fcgi"
];
virtualHosts."localhost".locations."/server-info" = {
extraConfig = ''
SetHandler server-info
Require local
'';
};
};
};
}