dns: use better date for teh serial

This commit is contained in:
silver 2024-07-20 12:21:30 +01:00
parent a4d83fde50
commit 648b437767
Signed by: silver
GPG key ID: 54E2C71918E93B74
2 changed files with 3 additions and 2 deletions

View file

@ -3,13 +3,14 @@
pkgs,
config,
nodes,
self,
...
}: let
name = "dns";
cfg = config.services.skynet."${name}";
# reads that date to a string (will need to be fixed in 2038)
current_date = builtins.currentTime;
current_date = self.lastModified;
# this gets a list of all domains we have records for
domains = lib.lists.naturalSort (

View file

@ -131,7 +131,7 @@
overlays = [];
};
specialArgs = {
inherit inputs;
inherit inputs self;
};
};