nixos-config/system/all/nginx-landingpage.nix
Ingolf Wagner 7a6510a4e6
nix fmt
2024-08-29 08:26:04 +07:00

15 lines
227 B
Nix

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