nixos-servers/nixos/machines/default.nix

65 lines
1.3 KiB
Nix
Raw Normal View History

{
jefke = {
name = "jefke";
hostName = "jefke.hyp";
2023-12-29 12:46:12 +00:00
nixosModule.lab = {
terraformDatabase.enable = true;
2024-01-06 23:22:44 +00:00
storage = {
osDisk = "/dev/sda";
dataPartition = "/dev/nvme0n1p1";
};
ssh = {
useCertificates = true;
hostCert = builtins.readFile ./jefke_host_ed25519-cert.pub;
userCert = builtins.readFile ./jefke_user_ed25519-cert.pub;
};
};
};
2023-11-29 16:21:18 +00:00
atlas = {
name = "atlas";
hostName = "atlas.hyp";
2023-12-29 12:46:12 +00:00
nixosModule.lab = {
2024-01-07 22:06:27 +00:00
networking = {
staticDMZIpv4Address = "192.168.30.7/24";
dmzServices.enable = true;
};
2024-01-06 23:22:44 +00:00
storage = {
osDisk = "/dev/sda";
dataPartition = "/dev/nvme0n1p1";
};
2023-12-16 22:47:18 +00:00
ssh = {
useCertificates = true;
hostCert = builtins.readFile ./atlas_host_ed25519-cert.pub;
userCert = builtins.readFile ./atlas_user_ed25519-cert.pub;
2023-11-29 16:21:18 +00:00
};
2023-11-22 17:28:55 +00:00
};
};
lewis = {
name = "lewis";
hostName = "lewis.hyp";
2023-12-29 12:46:12 +00:00
nixosModule.lab = {
dataHost.enable = true;
2024-01-06 23:22:44 +00:00
storage = {
osDisk = "/dev/sda";
dataPartition = "/dev/nvme0n1p1";
};
ssh = {
useCertificates = true;
hostCert = builtins.readFile ./lewis_host_ed25519-cert.pub;
userCert = builtins.readFile ./lewis_user_ed25519-cert.pub;
};
};
};
}