diff options
Diffstat (limited to 'hosts')
-rw-r--r-- | hosts/flora/configuration.nix | 1 | ||||
-rw-r--r-- | hosts/flora/services/blog.nix | 9 |
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); + }; +} |