22 lines
381 B
Nix
22 lines
381 B
Nix
{ config, lib, ... }:
|
|
|
|
with import <stockholm/lib>;
|
|
|
|
{
|
|
services.nginx = {
|
|
recommendedGzipSettings = true;
|
|
recommendedOptimisation = true;
|
|
recommendedTlsSettings = true;
|
|
|
|
enableReload = true;
|
|
|
|
virtualHosts.default = {
|
|
locations."= /etc/os-release".extraConfig = ''
|
|
default_type text/plain;
|
|
alias /etc/os-release;
|
|
'';
|
|
};
|
|
};
|
|
}
|
|
|