about summary refs log tree commit diff
path: root/colmena/cobalt/services/nginx.nix
diff options
context:
space:
mode:
authorsefidel <contact@sefidel.net>2023-02-04 01:09:12 +0900
committersefidel <contact@sefidel.net>2023-02-04 01:09:12 +0900
commit4f6d208e43bb85e7ce0fb92038669c89ff569b5f (patch)
tree47b36de609a132f74ee89eb2824ab629af3b1dcc /colmena/cobalt/services/nginx.nix
parent165d3a417dcd6ba5ab45b8ad70c9d8c72b729e56 (diff)
downloadnixrc-4f6d208e43bb85e7ce0fb92038669c89ff569b5f.tar.gz
nixrc-4f6d208e43bb85e7ce0fb92038669c89ff569b5f.zip
feat(colmena/services): setup gitolite & cgit
Diffstat (limited to 'colmena/cobalt/services/nginx.nix')
-rw-r--r--colmena/cobalt/services/nginx.nix15
1 files changed, 15 insertions, 0 deletions
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
+  ];
+}