diff options
author | lassulus <lassulus@lassul.us> | 2022-12-02 08:29:40 +0100 |
---|---|---|
committer | lassulus <lassulus@lassul.us> | 2022-12-02 08:29:40 +0100 |
commit | 2ea3b14cb5caa06f2d2972177a93cddb6d9d66f6 (patch) | |
tree | 84b86d77b88868fc70082a64f35b5077247157dd /kartei/template | |
parent | 81b5682c5ff1e36613f844a874e09b897ee13d3e (diff) | |
parent | f8fb430fc1bbc3ee6356971bbd1bdeba1b9a0d69 (diff) |
Merge remote-tracking branch 'ni/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"; + }; + }; +} |