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

16 lines
227 B
Nix
Raw Normal View History

2024-08-29 03:26:04 +02: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
};
};
}