From bb25560c8db26f6a349b8d29a80a8042ac7eb72d Mon Sep 17 00:00:00 2001 From: Danila Fedorin Date: Sat, 23 Oct 2021 00:33:22 -0700 Subject: [PATCH] Make minor adjustments to lib.nix --- lib.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib.nix b/lib.nix index e93325e..c33e2fc 100644 --- a/lib.nix +++ b/lib.nix @@ -31,10 +31,10 @@ let }; wrapHost = ssl: host: (if ssl then "https" else "http") + "//${host}"; in - lib = { + { english = settings: website { - inherit (settings) drafts; ssl = settings.ssl or false; + drafts = settings.drafts or false; source = blog-source; path = "."; replaceUrl = { @@ -43,8 +43,8 @@ in }; }; russian = settings: website { - inherit (settings) drafts; ssl = settings.ssl or false; + drafts = settings.drafts or false; source = blog-source-localized; path = "ru"; replaceUrl = {