nixos-config/lib/instance.nix

17 lines
352 B
Nix

{ config, lib, pkgs, ... }:
with lib;
{
options.instance = with types; {
hostname = mkOption {
type = str;
description = "Hostname of this specific host (without domain).";
};
build-timestamp = mkOption {
type = int;
description = "Timestamp associated with the build. Used for e.g. DNS serials.";
};
};
}