summaryrefslogtreecommitdiffstats
path: root/kartei/template
diff options
context:
space:
mode:
authorlassulus <lassulus@lassul.us>2022-12-02 08:29:40 +0100
committerlassulus <lassulus@lassul.us>2022-12-02 08:29:40 +0100
commit2ea3b14cb5caa06f2d2972177a93cddb6d9d66f6 (patch)
tree84b86d77b88868fc70082a64f35b5077247157dd /kartei/template
parent81b5682c5ff1e36613f844a874e09b897ee13d3e (diff)
parentf8fb430fc1bbc3ee6356971bbd1bdeba1b9a0d69 (diff)
Merge remote-tracking branch 'ni/master'
Diffstat (limited to 'kartei/template')
-rw-r--r--kartei/template/default.nix20
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";
+ };
+ };
+}