mirror of
https://git.sr.ht/~rouven/nixos-config
synced 2025-04-25 16:08:30 +02:00
new monitor arrived
This commit is contained in:
parent
a1dc57a8de
commit
505d713001
5 changed files with 111 additions and 24 deletions
|
@ -1,4 +1,7 @@
|
|||
{ ... }:
|
||||
{ lib, config, ... }:
|
||||
let
|
||||
v = (builtins.attrNames config.services.nginx.virtualHosts);
|
||||
in
|
||||
{
|
||||
networking.firewall.allowedTCPPorts = [ 80 443 ];
|
||||
services.nginx = {
|
||||
|
@ -7,6 +10,7 @@
|
|||
recommendedProxySettings = true;
|
||||
recommendedGzipSettings = true;
|
||||
recommendedOptimisation = true;
|
||||
# virtualHosts = lib.genAttrs v (name: { extraConfig = " lohustuff goes ith ${name}"; });
|
||||
};
|
||||
security.acme = {
|
||||
acceptTerms = true;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue