nixos-config/system/all/nginx-landingpage.nix
2024-06-07 22:56:52 +02:00

9 lines
219 B
Nix

{ config, lib, pkgs, ... }: {
# deprecated
services.nginx.virtualHosts."${config.networking.hostName}.private" = {
default = true;
locations."/" = {
root = pkgs.landingpage.override { };
};
};
}