first multi-site deploy working 🎉
This commit is contained in:
parent
ebcdb08e03
commit
afe348d913
3 changed files with 44 additions and 1 deletions
29
nixos/hosts/hades/bastion/configuration.nix
Normal file
29
nixos/hosts/hades/bastion/configuration.nix
Normal 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";
|
||||||
|
};
|
||||||
|
}
|
|
@ -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";
|
||||||
|
}
|
||||||
|
]
|
||||||
|
|
|
@ -69,12 +69,14 @@
|
||||||
profile = "dns";
|
profile = "dns";
|
||||||
ip = "10.42.42.15";
|
ip = "10.42.42.15";
|
||||||
mac = "5E:F6:36:23:16:E3";
|
mac = "5E:F6:36:23:16:E3";
|
||||||
|
tags = [ "dns" ];
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
hostname = "dns-2";
|
hostname = "dns-2";
|
||||||
profile = "dns";
|
profile = "dns";
|
||||||
ip = "10.42.42.16";
|
ip = "10.42.42.16";
|
||||||
mac = "B6:04:0B:CD:0F:9F";
|
mac = "B6:04:0B:CD:0F:9F";
|
||||||
|
tags = [ "dns" ];
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
hostname = "minio";
|
hostname = "minio";
|
||||||
|
|
Loading…
Add table
Reference in a new issue