nixos-config/nixos/system/all/nginx-landingpage.nix
2024-02-24 03:17:49 +01:00

9 lines
219 B
Nix

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