about summary refs log tree commit diff
path: root/machines/srv1/configuration.nix
diff options
context:
space:
mode:
authorPatryk Niedźwiedziński <pniedzwiedzinski19@gmail.com>2021-03-03 12:41:32 +0100
committerPatryk Niedźwiedziński <pniedzwiedzinski19@gmail.com>2021-03-03 12:41:32 +0100
commite01eac210ada6f2e8874b76053d3f2ddb19e5605 (patch)
treebe5dfe8d72325aeb070f8b48261da74a811981f6 /machines/srv1/configuration.nix
parent1158b05b49fc0c79d5c90a9947d80d00ef885e10 (diff)
downloaddots-e01eac210ada6f2e8874b76053d3f2ddb19e5605.tar.gz
dots-e01eac210ada6f2e8874b76053d3f2ddb19e5605.zip
Add tmp
Diffstat (limited to 'machines/srv1/configuration.nix')
-rw-r--r--machines/srv1/configuration.nix7
1 files changed, 6 insertions, 1 deletions
diff --git a/machines/srv1/configuration.nix b/machines/srv1/configuration.nix
index b03a22e..a54597c 100644
--- a/machines/srv1/configuration.nix
+++ b/machines/srv1/configuration.nix
@@ -20,7 +20,7 @@ in
 
     networking.hostName = "srv1";
     networking.extraHosts = ''
-      192.168.1.136 srv1.niedzwiedzinski.cyou git.niedzwiedzinski.cyou
+      192.168.1.136 srv1.niedzwiedzinski.cyou git.niedzwiedzinski.cyou tmp.niedzwiedzinski.cyou
     '';
 
     services.dnsmasq = {
@@ -107,6 +107,11 @@ in
       enableACME = true;
       forceSSL = true;
     };
+    "tmp.niedzwiedzinski.cyou" = {
+      enableACME = true;
+      addSSL = true;
+      root = "/var/www/tmp.niedzwiedzinski.cyou";
+    };
   };
   security.acme.email = "pniedzwiedzinski19@gmail.com";
   security.acme.acceptTerms = true;