maxwell/variables.nix
2021-03-15 00:10:19 +01:00

19 lines
440 B
Nix

{ lib, ... }:
# This file contains global constants that are
# used thoughout the configuration files. They are
# "variables", in the sense that they can change
# from time to time and we don't like to search-replace.
{
options.var = lib.mkOption {
type = lib.types.attrs;
readOnly = true;
default = {
hostname = "maxwell.ydns.eu";
ipAddress = "2.35.5.112";
};
description = "Global constants.";
};
}