nixos-config/lib/instance.nix

17 lines
352 B
Nix
Raw Normal View History

{ config, lib, pkgs, ... }:
2021-02-25 12:45:50 -08:00
with lib;
{
2021-09-30 08:40:47 -07:00
options.instance = with types; {
hostname = mkOption {
2021-09-30 08:40:47 -07:00
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.";
};
};
}