29 lines
No EOL
741 B
Nix
29 lines
No EOL
741 B
Nix
# This file is used to map "roles" to nodes
|
|
# Modules are supposed to be somewhat a bit generic
|
|
# If some "hostvars" are needed but not generic
|
|
# enough to be added to nodes.nix they should
|
|
# be declared here
|
|
{
|
|
bastion = {
|
|
hosts = [
|
|
"bastion-mtz-lasuite-federez"
|
|
"bastion-ren-lasuite-federez"
|
|
"bastion-aur-lasuite-federez"
|
|
];
|
|
_inherit = [
|
|
./shared/bastion.nix
|
|
];
|
|
};
|
|
|
|
dns = rec {
|
|
master = "master-dns-aur-lasuite-federez";
|
|
secondary = [
|
|
"dns-mtz-lasuite-federez"
|
|
"dns-ren-lasuite-federez"
|
|
];
|
|
hosts = [ master ] ++ secondary;
|
|
_inherit = [
|
|
./shared/dns.nix
|
|
];
|
|
};
|
|
} |