summaryrefslogtreecommitdiff
path: root/hosts/flora
diff options
context:
space:
mode:
Diffstat (limited to 'hosts/flora')
-rw-r--r--hosts/flora/configuration.nix1
-rw-r--r--hosts/flora/services/blog.nix9
2 files changed, 10 insertions, 0 deletions
diff --git a/hosts/flora/configuration.nix b/hosts/flora/configuration.nix
index 89bef32..e8e6345 100644
--- a/hosts/flora/configuration.nix
+++ b/hosts/flora/configuration.nix
@@ -11,6 +11,7 @@
# ./services/surveys.nix
#./services/picarones.nix
./services/dockerhub.nix
+ ./services/blog.nix
];
# Use the GRUB 2 boot loader.
diff --git a/hosts/flora/services/blog.nix b/hosts/flora/services/blog.nix
new file mode 100644
index 0000000..428b3fb
--- /dev/null
+++ b/hosts/flora/services/blog.nix
@@ -0,0 +1,9 @@
+{ config, lib, pkgs, ... }:
+
+{
+ services.nginx.virtualHosts."stuebinm.eu" = {
+ enableACME = true;
+ forceSSL = true;
+ locations."/".root = (import /home/stuebinm/Dokumente/blog);
+ };
+}