Daniel Siepmann
1aa49f0eff
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.
32 lines
497 B
Nix
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
|
|
'';
|
|
};
|
|
};
|
|
};
|
|
}
|