fix homepage

This commit is contained in:
Tim Schubert 2021-08-27 17:49:14 +02:00
parent 499b893f3e
commit 6dc0d91f0d
Signed by: dadada
GPG key ID: EEB8D1CE62C4DFEA
9 changed files with 20 additions and 24 deletions

View file

@ -9,7 +9,7 @@
fileShare = import ./fileShare.nix;
gitea = import ./gitea.nix;
headphones = import ./headphones.nix;
homepage = import ./homepage.nix { inherit homePage; };
homepage = import ./homepage.nix;
networking = import ./networking.nix;
share = import ./share.nix;
steam = import ./steam.nix;

View file

@ -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}";
};
};
}