23 lines
400 B
Nix
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;
|
|
'';
|
|
};
|
|
};
|
|
}
|
|
|