stockholm/lass/2configs/websites/default.nix
2023-09-03 12:00:44 +02:00

21 lines
370 B
Nix

{ config, lib, ... }:
{
services.nginx = {
enable = true;
recommendedGzipSettings = true;
recommendedOptimisation = true;
recommendedTlsSettings = true;
enableReload = true;
virtualHosts.default = {
locations."= /etc/os-release".extraConfig = ''
default_type text/plain;
alias /etc/os-release;
'';
};
};
}