first multi-site deploy working 🎉

This commit is contained in:
Vivian 2022-09-10 10:46:34 +02:00
parent 1ee95b1f9c
commit 6ae076296e
3 changed files with 44 additions and 1 deletions

View file

@ -0,0 +1,29 @@
{ config, pkgs, lib, ... }:
{
networking.interfaces.eth0.useDHCP = true;
# mosh ssh
programs.mosh.enable = true;
environment.systemPackages = with pkgs; [
cachix
direnv
git-crypt
nix-update
nodejs-14_x
pinentry-curses
ripgrep
rsync
tmux
vault
];
environment.noXlibs = lib.mkForce false;
system.stateVersion = "21.05";
programs.gnupg.agent = {
enable = true;
pinentryFlavor = "curses";
};
}

View file

@ -1 +1,13 @@
[]
[
{
hostname = "archlinux";
ip = "192.168.0.200";
mac = "00:0c:29:e4:0d:17";
nix = false;
}
{
hostname = "bastion";
ip = "192.168.0.114";
mac = "66:14:8e:b2:50:c4";
}
]

View file

@ -69,12 +69,14 @@
profile = "dns";
ip = "10.42.42.15";
mac = "5E:F6:36:23:16:E3";
tags = [ "dns" ];
}
{
hostname = "dns-2";
profile = "dns";
ip = "10.42.42.16";
mac = "B6:04:0B:CD:0F:9F";
tags = [ "dns" ];
}
{
hostname = "minio";