update flakes

This commit is contained in:
Tim Schubert 2021-08-27 17:48:55 +02:00
parent 53e9374d85
commit 499b893f3e
Signed by: dadada
GPG key ID: EEB8D1CE62C4DFEA
6 changed files with 77 additions and 38 deletions

View file

@ -1,6 +1,8 @@
{ homePage }:
{ config, pkgs, lib, ... }:
let
cfg = config.dadada.homePage;
homePagePkg = pkgs.callPackage homePage { };
in
with lib; {
options.dadada.homePage = {
@ -12,7 +14,7 @@ with lib; {
services.nginx.virtualHosts."dadada.li" = {
enableACME = true;
forceSSL = true;
root = "/var/lib/www/dadada.li";
root = "${homePagePkg}";
};
};
}