fix homepage
This commit is contained in:
parent
499b893f3e
commit
6dc0d91f0d
9 changed files with 20 additions and 24 deletions
|
@ -1,8 +1,6 @@
|
|||
{ homePage }:
|
||||
{ config, pkgs, lib, ... }:
|
||||
let
|
||||
cfg = config.dadada.homePage;
|
||||
homePagePkg = pkgs.callPackage homePage { };
|
||||
in
|
||||
with lib; {
|
||||
options.dadada.homePage = {
|
||||
|
@ -14,7 +12,7 @@ with lib; {
|
|||
services.nginx.virtualHosts."dadada.li" = {
|
||||
enableACME = true;
|
||||
forceSSL = true;
|
||||
root = "${homePagePkg}";
|
||||
root = "${pkgs.homePage}";
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue