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,
|
pkgs,
|
||||||
config,
|
config,
|
||||||
nodes,
|
nodes,
|
||||||
|
self,
|
||||||
...
|
...
|
||||||
}: let
|
}: let
|
||||||
name = "dns";
|
name = "dns";
|
||||||
cfg = config.services.skynet."${name}";
|
cfg = config.services.skynet."${name}";
|
||||||
|
|
||||||
# reads that date to a string (will need to be fixed in 2038)
|
# 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
|
# this gets a list of all domains we have records for
|
||||||
domains = lib.lists.naturalSort (
|
domains = lib.lists.naturalSort (
|
||||||
|
|
|
@ -131,7 +131,7 @@
|
||||||
overlays = [];
|
overlays = [];
|
||||||
};
|
};
|
||||||
specialArgs = {
|
specialArgs = {
|
||||||
inherit inputs;
|
inherit inputs self;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue