summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--host/software/blog.kummerlaender.eu.nix36
1 files changed, 6 insertions, 30 deletions
diff --git a/host/software/blog.kummerlaender.eu.nix b/host/software/blog.kummerlaender.eu.nix
index f48ef27..2328145 100644
--- a/host/software/blog.kummerlaender.eu.nix
+++ b/host/software/blog.kummerlaender.eu.nix
@@ -1,36 +1,12 @@
{ pkgs, ... }:
let
- result = pkgs.stdenv.mkDerivation {
- name = "blog.kummerlaender.eu";
-
- src = pkgs.fetchFromGitHub {
- owner = "KnairdA";
- repo = "blog.kummerlaender.eu";
- fetchSubmodules = true;
- rev = "92beb2254a441d43bb66ab89a179853ccbe6bceb";
- sha256 = "1mbxjkh8wxsvqb3yc6cirr3rady756vvys3v5l8k2rxkkl90wg1m";
- };
-
- LANG = "en_US.UTF-8";
-
- buildInputs = let
- mypkgs = import (fetchTarball "https://pkgs.kummerlaender.eu/nixexprs.tar.gz") { };
- in [
- pkgs.pandoc
- pkgs.highlight
- mypkgs.katex-wrapper
- mypkgs.make-xslt
- ];
-
- patches = [ ./asset/blog.kummerlaender.eu-change-domain.patch ];
-
- installPhase = ''
- make-xslt
- mkdir $out
- cp -Lr target/99_result/* $out
- '';
- };
+ result = import (pkgs.fetchFromGitHub {
+ owner = "KnairdA";
+ repo = "blog_content";
+ rev = "c467ca2df2759a00edc4b15f81097299771fcd5c";
+ sha256 = "0kinmswnklpvmkaaks7x9gj8yk217299d9rc4ca7kdklmi4xsfrw";
+ }) { };
in {
services.nginx.virtualHosts."blog.kummerlaender.eu" = {
addSSL = true;