Summary Files Commits Branches @commit @diff @stats
path: root / modules / web-server.nix
blob: f8a13b53a61f9958fd7675d47d7f517c97c413ec (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
{ pkgs, ... }: {
  environment.systemPackages = with pkgs; [ apacheHttpd ];

  services.httpd = {
    enable = true;

    virtualHosts = {
      syndamiadotcom-local = {
        hostName = "synd.local";
        listen = [ { port = 80; } ];
        documentRoot = "/home/kamen/Programming/GitLab-repos/syndamiadotcom/website";
      };
    };
  };
}