stockholm/lass/2configs/websites/default.nix
2023-07-23 23:11:54 +02:00

23 lines
400 B
Nix

{ config, lib, ... }:
with import <stockholm/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;
'';
};
};
}