From 4f6d208e43bb85e7ce0fb92038669c89ff569b5f Mon Sep 17 00:00:00 2001 From: sefidel Date: Sat, 4 Feb 2023 01:09:12 +0900 Subject: feat(colmena/services): setup gitolite & cgit --- colmena/cobalt/services/nginx.nix | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 colmena/cobalt/services/nginx.nix (limited to 'colmena/cobalt/services/nginx.nix') diff --git a/colmena/cobalt/services/nginx.nix b/colmena/cobalt/services/nginx.nix new file mode 100644 index 0000000..cb5ced3 --- /dev/null +++ b/colmena/cobalt/services/nginx.nix @@ -0,0 +1,15 @@ +{ + services.nginx = { + enable = true; + + recommendedGzipSettings = true; + recommendedOptimisation = true; + recommendedTlsSettings = true; + }; + + users.extraUsers.nginx.extraGroups = [ "acme" ]; + + imports = [ + ./acme.nix + ]; +} -- cgit 1.4.1