Make the DNS serial correct

This commit is contained in:
niten 2021-11-29 19:21:38 -08:00
parent 8ea09b18f2
commit 96e5205835

View File

@ -55,9 +55,18 @@
]; ];
}; };
latest-modified-timestamp = head
(sort (a: b: a > b)
(filter (timestamp: timestamp != null)
(map (input: toInt input.lastModifiedDate) inputs)));
concat-timestamp = timestamp:
toInt (substring 0 10 (toString timestamp));
common-host-config = hostname: hostOpts: let common-host-config = hostname: hostOpts: let
config-dir = ./config; config-dir = ./config;
build-timestamp = toInt fudo-entities.lastModifiedDate; build-timestamp =
concatTimestamp last-modified-timestamp;
in { config, ... }: { in { config, ... }: {
imports = [ imports = [
fudo-home.nixosModule fudo-home.nixosModule