nixos-config/system/all/nginx-landingpage.nix

10 lines
219 B
Nix
Raw Normal View History

2019-12-20 05:54:26 +01:00
{ config, lib, pkgs, ... }: {
2024-02-24 02:57:20 +01:00
# deprecated
2019-10-24 02:20:38 +02:00
services.nginx.virtualHosts."${config.networking.hostName}.private" = {
default = true;
locations."/" = {
2024-02-23 09:39:08 +01:00
root = pkgs.landingpage.override { };
2019-10-24 02:20:38 +02:00
};
};
}