commit 1f046a95a6aabad76253ee76b71f7236a3dfae3e parent 887eadfc3a23ae73920298d017a2ca71ae3f6be2 Author: Vincent Demeester <vincent@sbr.pm> Date: Sat, 11 Sep 2021 15:24:02 +0200 ops: add cloud network Signed-off-by: Vincent Demeester <vincent@sbr.pm> Diffstat:
A | ops/cloud/network.nix | | | 16 | ++++++++++++++++ |
1 file changed, 16 insertions(+), 0 deletions(-)
diff --git a/ops/cloud/network.nix b/ops/cloud/network.nix @@ -0,0 +1,16 @@ +let + sources = import ../../nix; + pkgs = sources.pkgs { }; +in +{ + network = { + inherit pkgs; + description = "Cloud network"; + }; + + "kerkouane" = { config, pkgs, lib, ... }: { + deployment.targetUser = "root"; + deployment.targetHost = "kerkouane.vpn"; + imports = [ ../../systems/hosts/kerkouane.nix ]; + }; +}