fix: fixed publish dates for builds

This commit is contained in:
Leyla Becker 2026-02-18 16:10:54 -06:00
parent 51b237dd8e
commit e8fd233a30
4 changed files with 46 additions and 9 deletions

View file

@ -28,6 +28,7 @@
in
pkgs.callPackage ./package.nix {
siteUrl = "${protocol}://${domain}";
sourcePath = cfg.sourcePath;
};
allDomains = [cfg.domain] ++ cfg.extraDomains;
@ -118,6 +119,12 @@ in {
default = "";
description = "Email address for ACME certificate registration.";
};
sourcePath = lib.mkOption {
type = lib.types.path;
default = ./..;
description = "Path to the source directory. Pass a path with .git for correct dates.";
};
};
config = lib.mkIf cfg.enable {
@ -214,4 +221,4 @@ in {
networking.firewall.allowedTCPPorts = [80 443];
};
}
}