{self, ...}: { environment.etc.nixos_git_rev = { text = builtins.toString (self.shortRev or self.dirtyShortRev or self.lastModified or "unknown"); }; }