diff options
author | makefu <github@syntax-fehler.de> | 2022-12-12 19:44:00 +0100 |
---|---|---|
committer | makefu <github@syntax-fehler.de> | 2022-12-12 19:44:00 +0100 |
commit | 6eb5e44b7e5bdc8b1b3b5ffe40c146841f7afd10 (patch) | |
tree | f706bf7c3c7a289f680ac329caa2b578e5145a56 /kartei/template | |
parent | 96e934dc8a353cff91ef824f6a125ed49996d058 (diff) | |
parent | 3884243448869bdf09f6434b385e532c7c26ae88 (diff) |
Merge remote-tracking branch 'lass/master'
Diffstat (limited to 'kartei/template')
-rw-r--r-- | kartei/template/default.nix | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/kartei/template/default.nix b/kartei/template/default.nix new file mode 100644 index 000000000..2acf78d38 --- /dev/null +++ b/kartei/template/default.nix @@ -0,0 +1,20 @@ +{ 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"; + }; + }; +} |