diff options
author | lassulus <lassulus@lassul.us> | 2018-12-09 17:01:51 +0100 |
---|---|---|
committer | lassulus <lassulus@lassul.us> | 2018-12-09 17:01:51 +0100 |
commit | a289812df188ab45ee03aedea83d5a0c861594f1 (patch) | |
tree | 16f9a576e30e6a25238b631f5ae72eba96730cc9 /krebs/3modules/lass | |
parent | 5d321689af3fd207a72ea73280add7689dc8d8c5 (diff) |
l: add phone.w
Diffstat (limited to 'krebs/3modules/lass')
-rw-r--r-- | krebs/3modules/lass/default.nix | 20 |
1 files changed, 19 insertions, 1 deletions
diff --git a/krebs/3modules/lass/default.nix b/krebs/3modules/lass/default.nix index 86a36015b..fe63982be 100644 --- a/krebs/3modules/lass/default.nix +++ b/krebs/3modules/lass/default.nix @@ -1,7 +1,11 @@ { config, ... }: - with import <stockholm/lib>; +let + + rip6 = krebs.genipv6 "retiolum" "lass"; + wip6 = krebs.genipv6 "wirelum" "lass"; +in { dns.providers = { "lassul.us" = "zones"; @@ -459,6 +463,20 @@ with import <stockholm/lib>; ssh.privkey.path = <secrets/ssh.id_ed25519>; ssh.pubkey = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAILSBxtPf8yJfzzI7/iYpoRSc/TT+zYmE/HM9XWS3MZlv"; }; + phone = { + nets = { + wirelum = { + ip6.addr = (wip6 "a").address; + ip4.addr = "10.244.1.2"; + aliases = [ + "phone.w" + ]; + wireguard.pubkey = "zVunBVOxsMETlnHkgjfH71HaZjjNUOeYNveAVv5z3jw="; + }; + }; + external = true; + ci = false; + }; }; users = rec { lass = lass-blue; |