diff --git a/applications/dns/dns.nix b/applications/dns/dns.nix index 155cfea..8b4b8b5 100644 --- a/applications/dns/dns.nix +++ b/applications/dns/dns.nix @@ -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 ( diff --git a/flake.nix b/flake.nix index 397c1fe..91e8f7b 100644 --- a/flake.nix +++ b/flake.nix @@ -131,7 +131,7 @@ overlays = []; }; specialArgs = { - inherit inputs; + inherit inputs self; }; };