fix: fixed publish dates for builds
This commit is contained in:
parent
51b237dd8e
commit
e8fd233a30
4 changed files with 46 additions and 9 deletions
|
|
@ -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];
|
||||
};
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue