maxwell/variables.nix

21 lines
547 B
Nix
Raw Permalink 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.eurofusion.eu";
2023-08-15 16:21:59 +02:00
ipv4WanAddress = "2.35.5.112";
ipv4LanAddress = "192.168.1.5";
2024-09-03 01:01:16 +02:00
ipv6Address = "2001:470:b576:0:230:48ff:fefa:91e1";
2020-10-20 01:11:28 +02:00
};
description = "Global constants.";
};
}