2023-06-10 10:50:53 +00:00
|
|
|
{ config, lib, ... }: let
|
|
|
|
slib = import ../../lib/pure.nix { inherit lib; };
|
2022-11-23 17:16:48 +00:00
|
|
|
in {
|
|
|
|
users.DUMMYUSER = {
|
|
|
|
mail = "DUMMYUSER@example.ork";
|
|
|
|
};
|
|
|
|
hosts.DUMMYHOST = {
|
|
|
|
owner = config.krebs.users.DUMMYUSER;
|
|
|
|
nets.retiolum = {
|
|
|
|
aliases = [ "DUMMYHOST.DUMMYUSER.r" ];
|
2023-06-10 10:50:53 +00:00
|
|
|
ip6.addr = (slib.krebs.genipv6 "retiolum" "DUMMYUSER" { hostName = "DUMMYHOST"; }).address;
|
2022-11-23 17:16:48 +00:00
|
|
|
tinc.pubkey = ''
|
|
|
|
-----BEGIN RSA PUBLIC KEY-----
|
|
|
|
DUMMYTINCPUBKEYRSA
|
|
|
|
-----END RSA PUBLIC KEY-----
|
|
|
|
'';
|
|
|
|
tinc.pubkey_ed25519 = "DUMMYTINCPUBKEYED25519";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|