summary refs log tree commit diff stats
path: root/services
diff options
context:
space:
mode:
Diffstat (limited to 'services')
-rw-r--r--services/default.nix3
-rw-r--r--services/services/acme.nix6
-rw-r--r--services/services/nginx.nix15
3 files changed, 1 insertions, 23 deletions
diff --git a/services/default.nix b/services/default.nix
index c301ba1..6983529 100644
--- a/services/default.nix
+++ b/services/default.nix
@@ -1,7 +1,6 @@
 {config, ...}: {
   imports = [
-    ./services/acme.nix
-    ./services/nginx.nix
+    ./services/minecraft.nix
     ./services/nix.nix
     ./services/opensshd.nix
     ./services/rust-motd.nix
diff --git a/services/services/acme.nix b/services/services/acme.nix
deleted file mode 100644
index 42f9ed5..0000000
--- a/services/services/acme.nix
+++ /dev/null
@@ -1,6 +0,0 @@
-{...}: {
-  security.acme = {
-    acceptTerms = true;
-    defaults.email = "admin@vhack.eu";
-  };
-}
diff --git a/services/services/nginx.nix b/services/services/nginx.nix
deleted file mode 100644
index 204783b..0000000
--- a/services/services/nginx.nix
+++ /dev/null
@@ -1,15 +0,0 @@
-{...}: {
-  networking.firewall = {
-    allowedTCPPorts = [80 443];
-  };
-  services.nginx = {
-    enable = true;
-    virtualHosts = {
-      "vhack.eu" = {
-        forceSSL = true;
-        enableACME = true;
-        root = "/srv/www/vhack.eu";
-      };
-    };
-  };
-}