ci: one commit for all last nights changes

This commit is contained in:
silver 2023-07-25 08:17:38 +01:00
parent a06d27208f
commit 9fc349abc2
3 changed files with 42 additions and 4 deletions

View file

@ -3,7 +3,7 @@ let
cfg = config.skynet_dns;
# reads that date to a string (will need to be fixed in 2038)
current_date = toString builtins.currentTime;
current_date = lib.readFile "${pkgs.runCommand "timestamp" {} "echo -n `date +%s` > $out"}";
# gets a list of records that match this type
filter_records_type = r_type: builtins.filter (x: x.r_type == r_type) records;