kartei/feliks: add ipv6 addresses
This commit is contained in:
parent
8d670a2e63
commit
751cda6f6d
@ -1,10 +1,19 @@
|
|||||||
|
with import ../../lib;
|
||||||
{ config, ... }: let
|
{ config, ... }: let
|
||||||
lib = import ../../lib;
|
hostDefaults = hostName: host: flip recursiveUpdate host ({
|
||||||
|
ci = false;
|
||||||
|
external = true;
|
||||||
|
monitoring = false;
|
||||||
|
} // optionalAttrs (host.nets?retiolum) {
|
||||||
|
nets.retiolum.ip6.addr =
|
||||||
|
(krebs.genipv6 "retiolum" "external" { inherit hostName; }).address;
|
||||||
|
});
|
||||||
|
in {
|
||||||
in {
|
in {
|
||||||
users.feliks = {
|
users.feliks = {
|
||||||
mail = "feliks@flipdot.org";
|
mail = "feliks@flipdot.org";
|
||||||
};
|
};
|
||||||
hosts = {
|
hosts = mapAttrs hostDefaults {
|
||||||
papawhakaaro = {
|
papawhakaaro = {
|
||||||
owner = config.krebs.users.feliks;
|
owner = config.krebs.users.feliks;
|
||||||
nets = {
|
nets = {
|
||||||
|
Loading…
Reference in New Issue
Block a user