dns: use better date for teh serial
This commit is contained in:
parent
a4d83fde50
commit
648b437767
2 changed files with 3 additions and 2 deletions
|
@ -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 (
|
||||
|
|
|
@ -131,7 +131,7 @@
|
|||
overlays = [];
|
||||
};
|
||||
specialArgs = {
|
||||
inherit inputs;
|
||||
inherit inputs self;
|
||||
};
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue