From 77907331e870089dd5b657c317e5d370b96a2391 Mon Sep 17 00:00:00 2001 From: dadada Date: Thu, 31 Dec 2020 00:58:05 +0100 Subject: [PATCH] Fixup --- modules/homepage.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/modules/homepage.nix b/modules/homepage.nix index 4df76b1..36e5a65 100644 --- a/modules/homepage.nix +++ b/modules/homepage.nix @@ -3,10 +3,10 @@ with lib; let cfg = config.dadada.homePage; - homePage = pkgs.callPackage (builtins.fetchTarball { + homePage = builtins.fetchTarball { url = "https://github.com/dadada/dadada.li/archive/cb85ed00594f1d4396fe3f61f92e0ff19595596d.tar.gz"; sha256 = "176l913xsg9gicglkmpmnqwjn8r0psyyj2vx5pi26v0angnfg80a"; - }) {}; + }; in { options.dadada.homePage = { enable = mkEnableOption "Enable home page"; @@ -17,7 +17,7 @@ in { services.nginx.virtualHosts."dadada.li" = { enableACME = true; forceSSL = true; - root = homePage; + root = pkgs.callPackage homePage {}; }; }; }