From 0920afd031732c67057e8555d68f1f35bd1e4d06 Mon Sep 17 00:00:00 2001 From: Patrick Date: Fri, 26 Apr 2024 22:06:02 +0200 Subject: [PATCH] feat: blog --- config/basic/nix.nix | 2 +- hosts/elisabeth/blog.nix | 7 +++++++ hosts/elisabeth/default.nix | 1 + 3 files changed, 9 insertions(+), 1 deletion(-) create mode 100644 hosts/elisabeth/blog.nix diff --git a/config/basic/nix.nix b/config/basic/nix.nix index 97def45..25d50cd 100644 --- a/config/basic/nix.nix +++ b/config/basic/nix.nix @@ -46,7 +46,7 @@ nixpkgs.flake = inputs.nixpkgs; p.flake = inputs.nixpkgs; pkgs.flake = inputs.nixpkgs; - #templates.flake = inputs.templates; + templates.flake = inputs.templates; }; }; system = { diff --git a/hosts/elisabeth/blog.nix b/hosts/elisabeth/blog.nix new file mode 100644 index 0000000..80ac86a --- /dev/null +++ b/hosts/elisabeth/blog.nix @@ -0,0 +1,7 @@ +{ + services.nginx.virtualHosts."blog.lel.lol" = { + root = "/persist/blog"; + forceSSL = true; + useACMEHost = "web"; + }; +} diff --git a/hosts/elisabeth/default.nix b/hosts/elisabeth/default.nix index 2392793..ede6dea 100644 --- a/hosts/elisabeth/default.nix +++ b/hosts/elisabeth/default.nix @@ -20,6 +20,7 @@ ../../config/hardware/physical.nix + ./blog.nix ./net.nix ./fs.nix ]