maxwell/variables.nix

19 lines
440 B
Nix
Raw Normal View History

2020-10-20 01:11:28 +02:00
{ 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";
2021-03-15 00:10:19 +01:00
ipAddress = "2.35.5.112";
2020-10-20 01:11:28 +02:00
};
description = "Global constants.";
};
}