stockholm/kartei/template/default.nix

21 lines
547 B
Nix
Raw Normal View History

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