summaryrefslogtreecommitdiffstats
path: root/lass/1systems/prism/config.nix
diff options
context:
space:
mode:
authorlassulus <lassulus@lassul.us>2017-07-23 21:42:28 +0200
committerlassulus <lassulus@lassul.us>2017-07-23 21:42:28 +0200
commit25ae04c97df7dd307aa2762162a9b5fa818e48f7 (patch)
tree0164d3bccc42af15e1cc4c015d61f6a4ea2a3e6e /lass/1systems/prism/config.nix
parentc06435596a276f2039ca64b24a90fbb390cadf9c (diff)
l prism: add hotdog container
Diffstat (limited to 'lass/1systems/prism/config.nix')
-rw-r--r--lass/1systems/prism/config.nix15
1 files changed, 15 insertions, 0 deletions
diff --git a/lass/1systems/prism/config.nix b/lass/1systems/prism/config.nix
index 6c1453c94..b13e6bd62 100644
--- a/lass/1systems/prism/config.nix
+++ b/lass/1systems/prism/config.nix
@@ -283,6 +283,21 @@ in {
];
};
}
+ {
+ #hotdog
+ containers.hotdog = {
+ config = { ... }: {
+ services.openssh.enable = true;
+ users.users.root.openssh.authorizedKeys.keys = [
+ config.krebs.users.lass.pubkey
+ ];
+ };
+ enableTun = true;
+ privateNetwork = true;
+ hostAddress = "10.233.2.1";
+ localAddress = "10.233.2.2";
+ };
+ }
];
krebs.build.host = config.krebs.hosts.prism;